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