nginx dockerfile
This commit is contained in:
9
nginx/Dockerfile
Normal file
9
nginx/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user