Skip to content

Commit

Permalink
Add environment variable to run in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn authored Oct 8, 2024
1 parent c547f1e commit 48a687c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ RUN npm run build

RUN cp build/404.html build/index.html

CMD ["sh", "-c", "npm run build && cp build/404.html build/index.html && npm run start"]
CMD npm run build && cp build/404.html build/index.html && npm run ${DEVELOPMENT:-start}

0 comments on commit 48a687c

Please sign in to comment.