Commit e6af810f authored by jcorvi's avatar jcorvi
Browse files

Update Dockerfile

parent 33616e03
Pipeline #27074 passed with stage
in 2 minutes and 8 seconds
...@@ -25,7 +25,7 @@ RUN cp /usr/share/nginx/html/manage/v1/api.template /usr/share/nginx/html/manage ...@@ -25,7 +25,7 @@ RUN cp /usr/share/nginx/html/manage/v1/api.template /usr/share/nginx/html/manage
RUN sed -i "s/{RELEASE_DATE}/$(date +%F)/g" /usr/share/nginx/html/manage/v1/api RUN sed -i "s/{RELEASE_DATE}/$(date +%F)/g" /usr/share/nginx/html/manage/v1/api
RUN sed -i "s/{API_VERSION}/2.0/g" /usr/share/nginx/html/manage/v1/api RUN sed -i "s/{API_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 sed -i "s/{UUID}/$(uuidgen)/g" /usr/share/nginx/html/manage/v1/api
RUN /usr/share/nginx/html/manage/v1/api.template 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/pretox/assets/env.template.js > /usr/share/nginx/html/pretox/assets/env.js && exec nginx -g 'daemon off;'"]
......
Supports Markdown
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