nginx dockerfile

This commit is contained in:
2020-12-03 05:10:08 +01:00
parent 3a05927a60
commit 944e68acff
3 changed files with 62 additions and 0 deletions

9
nginx/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM centos:7
COPY repo /etc/yum.repos.d/Nginx.repo
RUN yum update -y
RUN yum install -y nginx \
&& yum clean all
COPY docker-entrypoint.sh /
RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["nginx"]