Skip to content

Commit

Permalink
env shell runnin properly
Browse files Browse the repository at this point in the history
  • Loading branch information
cdebarros committed Feb 19, 2024
1 parent 0ee2bfc commit 32dc4e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ USER root
RUN apk add --no-cache bash

# Make our shell script executable
RUN chmod +x env.sh && chmod 777 ./env-config.js
RUN chmod +x env.sh

EXPOSE 8080

Expand Down
2 changes: 1 addition & 1 deletion env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Recreate config file
# rm -rf ./env-config.js
# touch ./env-config.js

chmod 777 ./env-config.js
# Add assignment
echo "window._env_ = {" >> ./env-config.js

Expand Down

0 comments on commit 32dc4e8

Please # to comment.