Merge branch 'csp-updates' into 'master'
RED-8128 fix file permissions See merge request redactmanager/red-ui!256
This commit is contained in:
commit
2b68dbe2c8
@ -24,7 +24,6 @@ CMD ["/bin/cp", "-r", "/ng-app/dist/paligo-styles", "/tmp/styles-export"]
|
||||
|
||||
|
||||
FROM nginx:1.25.3-alpine
|
||||
ENV NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx/conf.d
|
||||
ENV PDFTRON_ALLOWED_HOSTS=''
|
||||
## Copy our default nginx config
|
||||
COPY docker/common/nginx/nginx.conf /etc/nginx/templates/default.conf.template
|
||||
@ -35,6 +34,8 @@ RUN rm -rf /usr/share/nginx/html/*
|
||||
## From ‘builder’ stage copy over the artifacts in dist folder to default nginx public folder
|
||||
COPY --from=builder /ng-app/dist/apps/red-ui /usr/share/nginx/html/ui
|
||||
COPY version.json /usr/share/nginx/html/ui/assets/version/version.json
|
||||
|
||||
RUN chmod a+rw -R /usr/nginx/conf.d
|
||||
RUN chmod o+r -R /usr/share/nginx/html
|
||||
RUN chmod g+r -R /usr/share/nginx/html
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user