diff --git a/Dockerfile.prod b/Dockerfile.prod index 9d30aa89..b859fac1 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -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 diff --git a/env.sh b/env.sh index 8a8c5809..8422ceca 100755 --- a/env.sh +++ b/env.sh @@ -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