Expose port 80 in static container Dockerfile

This commit is contained in:
Peter Schiffer 2019-05-26 01:54:21 +02:00
parent 44b7e46861
commit c8cd3fa95d
No known key found for this signature in database
GPG key ID: 6CCC5046E2B0B44B

View file

@ -5,6 +5,8 @@ RUN dnf -y --setopt=install_weak_deps=False install \
nginx \
&& dnf clean all
EXPOSE 80
COPY pdns-nginx.conf /etc/nginx/nginx.conf
CMD [ "/usr/sbin/nginx", "-g", "daemon off;" ]