Skip to content

Commit

Permalink
Updated Docker ENTRYPOINT to prevent Docker issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AtilMohAmine committed Feb 14, 2024
1 parent cce8163 commit 0279452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ RUN chmod +x set_server_url.sh
EXPOSE 3000

# Set REACT_APP_SERVER_URL using the script if the environment variable is set
ENTRYPOINT ["/bin/bash", "-c", "if [ \"$SET_SERVER_URL\" = \"true\" ]; then ./set_server_url.sh; fi && exec npm run ssr"]
ENTRYPOINT ["/bin/bash", "-c", "if [ \"$SET_SERVER_URL\" = \"true\" ]; then ./set_server_url.sh; fi && exec npm start"]

0 comments on commit 0279452

Please sign in to comment.