s'occuper de worDdpress

This commit is contained in:
Ubuntu
2025-07-05 16:25:14 +00:00
parent acb6dce583
commit 2c3c6aa50f
4 changed files with 111 additions and 150 deletions
+3 -3
View File
@@ -2,8 +2,6 @@ FROM debian:bullseye
RUN apt update -y
RUN apt upgrade -y
RUN apt install nginx -y
RUN apt install vim -y
RUN apt install curl -y
RUN apt install openssl -y
RUN mkdir -p /etc/nginx/ssl
RUN mkdir -p /var/run/nginx
@@ -11,4 +9,6 @@ RUN openssl req -x509 -nodes -out /etc/nginx/ssl/inception.crt -keyout /etc/ngin
COPY conf/nginx.conf /etc/nginx/nginx.conf
RUN chmod 755 /var/www/html
RUN chown -R www-data:www-data /var/www/html
ENTRYPOINT [ "nginx", "-g", "daemon off;" ]
COPY ./tools/run.sh /run.sh
RUN chmod +x /run.sh
ENTRYPOINT ["/run.sh"]