Commit 26f9cc57 authored by jcorvi's avatar jcorvi
Browse files

Update Dockerfile

parent ade787ee
Pipeline #28008 failed with stage
in 3 minutes and 49 seconds
......@@ -27,13 +27,8 @@ RUN sed -i "s/{APP_VERSION}/2.0/g" /usr/share/nginx/html/manage/v1/api
RUN sed -i "s/{UUID}/$(uuidgen)/g" /usr/share/nginx/html/manage/v1/api
RUN rm /usr/share/nginx/html/manage/v1/api.template
#CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/pretox/assets/env.template.js > /usr/share/nginx/html/pretox/assets/env.js && exec nginx -g 'daemon off;'"]
CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/assets/env.template.js > /usr/share/nginx/html/assets/env.js && envsubst < /usr/share/nginx/html/index.html > /usr/share/nginx/html/index.html_2 && cp /usr/share/nginx/html/index.html_2 /usr/share/nginx/html/index.html && exec nginx-debug -g 'daemon off;'"]
#CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/pretox/assets/env.template.js > /usr/share/nginx/html/pretox/assets/env.js && envsubst < /usr/share/nginx/html/pretox/index.html > /usr/share/nginx/html/pretox/index.html_2 && cp /usr/share/nginx/html/pretox/index.html_2 /usr/share/nginx/html/pretox/index.html && exec nginx-debug -g 'daemon off;'"]
#CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/pretox/assets/index.template.html > /usr/share/nginx/html/pretox/index.html && exec nginx -g 'daemon off;'"]
# && exec nginx-debug -g 'daemon off;'
#FROM nginx:1.17.1-alpine
#COPY /dist/my-app /usr/share/nginx/html
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment