mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-22 10:41:05 +01:00
17 lines
430 B
Docker
17 lines
430 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
|
|
COPY fastcgi_params /etc/nginx/fastcgi_params
|
|
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
|
|
|
|
EXPOSE 80
|
|
|
|
CMD /usr/sbin/nginx -g "daemon off; master_process off;"
|