diff --git a/Dockerfile.prod b/Dockerfile.prod index b859fac1..d12bbbf4 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -32,9 +32,11 @@ RUN apk add --no-cache bash # Make our shell script executable RUN chmod +x env.sh +RUN /bin/bash -c '/usr/share/nginx/html/env.sh' + EXPOSE 8080 USER nginx # Start Nginx server -CMD ["/bin/bash", "-c", "/usr/share/nginx/html/env.sh && nginx -g \"daemon off;\""] \ No newline at end of file +CMD ["/bin/bash", "-c", "nginx -g \"daemon off;\""] \ No newline at end of file