Razique Mahroua
2019-12-03 8aa760536b79e87bec6793c151e4ca5fbead1258
Fixes the todo front-end application to work in OpenShift
1 files modified
4 ■■■■ changed files
todo-frontend/Dockerfile 4 ●●●● patch | view | raw | blame | history
todo-frontend/Dockerfile
@@ -14,13 +14,13 @@
COPY nginx.conf /etc/nginx/
RUN touch /run/nginx.pid \
  && chgrp -R nginx /var/log/nginx /run/nginx.pid \
  && chgrp -R 0 /var/log/nginx /run/nginx.pid \
  && chmod -R g+rwx /var/log/nginx /run/nginx.pid
COPY src/ /usr/share/nginx/html
EXPOSE 8080
USER nginx
USER 1001
CMD nginx -g "daemon off;"