From 079ae47a30527c84b7662b923109376863c35daa Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Fri, 7 Oct 2022 22:10:26 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E4=BF=AE=E5=A4=8D=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 1 + .gitignore | 1 - Dockerfile | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 76bad3b..253757c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -34,5 +34,6 @@ yarn-error.log* .env.development.local .env.test.local .env.production.local +.env secrets.txt \ No newline at end of file diff --git a/.gitignore b/.gitignore index 79018e0..dd6d93c 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,3 @@ yarn-error.log* .env.production.local secrets.txt -.env diff --git a/Dockerfile b/Dockerfile index 5068d16..06185be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM node:16-alpine as base RUN apk add --no-cache libc6-compat WORKDIR /app COPY package-lock.json package.json ./ -RUN npm ci --no-audit +RUN npm ci --no-audit --force COPY . . FROM node:16-alpine as release