Commit b76a991b authored by jcorvi's avatar jcorvi
Browse files

Update Dockerfile

parent a6ce584e
Pipeline #27064 failed with stage
in 1 minute and 13 seconds
......@@ -21,11 +21,11 @@ COPY --from=build /usr/src/app/dist/my-app /usr/share/nginx/html
COPY src/manage /usr/share/nginx/html/manage
RUN cp /usr/share/nginx/html/manage/api.template /usr/share/nginx/html/manage/api
RUN sed -i "s/{RELEASE_DATE}/$(date +%F)/g" /usr/share/nginx/html/manage/api
RUN sed -i "s/{API_VERSION}/2.0/g" /usr/share/nginx/html/manage/api
RUN sed - i "s/{UUID}/$(uuidgen)/g" /usr/share/nginx/html/manage/api
RUN /usr/share/nginx/html/manage/api.template
RUN cp /usr/share/nginx/html/manage/v1/api.template /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/{UUID}/$(uuidgen)/g" /usr/share/nginx/html/manage/v1/api
RUN /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;'"]
......
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