From a23ed12bb64b58e9ddbf120def81336e3ddbbc5a Mon Sep 17 00:00:00 2001 From: anfu Date: Fri, 13 Sep 2024 10:15:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4.env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1fc95ca..8ea7fc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,9 @@ ADD default.conf /etc/nginx/http.d/default.conf RUN chmod +x /run.sh COPY . /var/www/html + +RUN rm -rf /var/www/html/.env + WORKDIR /var/www/html RUN chown www-data:www-data -R /var/www/html