Change permissions for openShift compatibility
This commit is contained in:
parent
71bfaff88d
commit
c2cc7e1fe2
@ -30,5 +30,9 @@ RUN rm -rf /usr/share/nginx/html/*
|
|||||||
COPY --from=builder /ng-app/dist/apps/red-ui /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 o+r -R /usr/share/nginx/html
|
||||||
RUN chmod g+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 /
|
COPY docker/red-ui/docker-entrypoint.sh /
|
||||||
CMD ["/docker-entrypoint.sh"]
|
CMD ["/docker-entrypoint.sh"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user