Student User
2019-08-01 9d0d654cac876f6ecbebfcbb4629173279cd0b1a
commit | author | age
f6dd9c 1 FROM registry.access.redhat.com/ubi8:8.0
SU 2
3 LABEL version="1.0"
4 LABEL description="To Do List application front-end"
5 LABEL creationDate="2017-12-25"
6 LABEL updatedDate="2019-08-01"
7
8 ENV BACKEND_HOST=localhost:8081
9
9d0d65 10 RUN yum install -y --disableplugin=subscription-manager --nodocs \
SU 11   nginx nginx-mod-http-perl
f6dd9c 12 RUN yum clean all
SU 13
14 ADD nginx.conf /etc/nginx/
15
16 RUN touch /run/nginx.pid
17 RUN chgrp -R nginx /var/log/nginx /run/nginx.pid
18 RUN chmod -R g+rwx /var/log/nginx /run/nginx.pid
19   
20 ADD src/ /usr/share/nginx/html
21
22 EXPOSE 8080
23
24 USER nginx
25
26 CMD nginx -g "daemon off;"
27