From bc30d24b4befe1e5aa6589d02899b69e7fb36c7c Mon Sep 17 00:00:00 2001 From: sijinhui Date: Wed, 20 Dec 2023 13:48:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9E=84=E5=BB=BA=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 9 +-------- Dockerfile | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.dockerignore b/.dockerignore index 60da41dd8..3c3629e64 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,8 +1 @@ -# local env files -.env*.local - -# docker-compose env files -.env - -*.key -*.key.pub \ No newline at end of file +node_modules diff --git a/Dockerfile b/Dockerfile index 929faa12c..ae37461a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,6 @@ ENV CODE="" WORKDIR /app COPY . . -RUN rm -rf ./node_modules COPY --from=deps /app/node_modules ./node_modules RUN yarn build