initial commit with apps from course repo

This commit is contained in:
Richard Allred
2019-05-23 13:13:16 -04:00
commit 497620c4d1
244 changed files with 6997 additions and 0 deletions

25
todo-frontend/Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM registry.access.redhat.com/rhel7:7.6
LABEL version="1.0"
LABEL description="To Do List application front-end"
LABEL creationDate="2017-12-25"
RUN rpm --rebuilddb
RUN yum install -y --setopt=tsflags=nodocs rh-nginx18
RUN yum clean all
COPY src /opt/rh/rh-nginx18/root/usr/share/nginx/html/
COPY nginxconf.sed /tmp/
COPY run.sh /tmp/
RUN sed -i -f /tmp/nginxconf.sed /etc/opt/rh/rh-nginx18/nginx/nginx.conf
RUN chown -R nginx:nginx /var/opt/rh/rh-nginx18 /opt/rh/rh-nginx18
RUN chmod -R a+rx,g+rx /var/opt/rh/rh-nginx18 /opt/rh/rh-nginx18
EXPOSE 8080
USER nginx
ENTRYPOINT ["/tmp/run.sh"]