wordpress/nginx/Dockerfile
2020-05-21 12:49:20 +02:00

17 lines
387 B
Docker

FROM registry.sindominio.net/debian
RUN apt-get update && \
apt-get -qy install nginx-full &&\
apt-get clean
COPY sd.conf /etc/nginx/sites-available/sd.conf
RUN rm /etc/nginx/sites-enabled/default
RUN ln -s /etc/nginx/sites-available/sd.conf /etc/nginx/sites-enabled/sd.conf
VOLUME /var/www/html
EXPOSE 443
EXPOSE 80
CMD /usr/sbin/nginx -g "daemon off; master_process off;"