Commit 742ee355 authored by jcorvi's avatar jcorvi
Browse files

Update Dockerfile

parent b76a991b
Pipeline #27065 failed with stage
in 1 minute and 14 seconds
......@@ -20,7 +20,7 @@ COPY ./nginx.conf /etc/nginx/nginx.conf
COPY --from=build /usr/src/app/dist/my-app /usr/share/nginx/html
COPY src/manage /usr/share/nginx/html/manage
RUN apk add util-linux
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
......
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