Pull request #4: Change permissions for openShift compatibility
Merge in RED/ui from openshift to master * commit 'c2cc7e1fe2306f3d0eb4f5f92e428d5a500eabdb': Change permissions for openShift compatibility
This commit is contained in:
commit
febcd11903
@ -30,5 +30,9 @@ RUN rm -rf /usr/share/nginx/html/*
|
||||
COPY --from=builder /ng-app/dist/apps/red-ui /usr/share/nginx/html
|
||||
RUN chmod o+r -R /usr/share/nginx/html
|
||||
RUN chmod g+r -R /usr/share/nginx/html
|
||||
|
||||
## Change permissions to enable openShift functionality
|
||||
RUN chmod -R g+rwx /var/cache/nginx /var/run /var/log/nginx /usr/share /etc/nginx
|
||||
|
||||
COPY docker/red-ui/docker-entrypoint.sh /
|
||||
CMD ["/docker-entrypoint.sh"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user