wordpress/nginx/Dockerfile

17 lines
430 B
Docker
Raw Permalink Normal View History

2020-05-21 12:49:20 +02:00
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
COPY fastcgi_params /etc/nginx/fastcgi_params
2020-05-21 12:49:20 +02:00
RUN rm /etc/nginx/sites-enabled/default
RUN ln -s /etc/nginx/sites-available/sd.conf /etc/nginx/sites-enabled/sd.conf
VOLUME /sindominio/wordpress
2020-05-21 12:49:20 +02:00
EXPOSE 80
CMD /usr/sbin/nginx -g "daemon off; master_process off;"