Release v0.1.16
This commit is contained in:
@@ -11,11 +11,13 @@ LABEL org.opencontainers.image.title="GovOPlaN WebUI runtime" \
|
||||
USER 0
|
||||
RUN rm -rf /usr/share/nginx/html/* /etc/nginx/conf.d/*
|
||||
COPY web-dist/ /usr/share/nginx/html/
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY nginx.conf /etc/nginx/nginx.conf.template
|
||||
COPY web-entrypoint.sh /usr/local/bin/govoplan-web-entrypoint
|
||||
RUN chown -R 101:101 /usr/share/nginx/html \
|
||||
&& chmod -R a-w /usr/share/nginx/html /etc/nginx/nginx.conf
|
||||
&& chmod -R a-w /usr/share/nginx/html /etc/nginx/nginx.conf.template \
|
||||
&& chmod 0555 /usr/local/bin/govoplan-web-entrypoint
|
||||
|
||||
USER 101:101
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT []
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
ENTRYPOINT ["/usr/local/bin/govoplan-web-entrypoint"]
|
||||
CMD []
|
||||
|
||||
Reference in New Issue
Block a user