commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
node_modules
|
||||
npm-debug.log
|
||||
.env
|
||||
.git
|
||||
.gitignore
|
||||
README.md
|
||||
.DS_Store
|
||||
*.md
|
||||
.vscode
|
||||
.idea
|
||||
dist
|
||||
build
|
||||
coverage
|
||||
+2
-2
@@ -6,8 +6,8 @@ WORKDIR /app
|
||||
# 复制package文件
|
||||
COPY package*.json ./
|
||||
|
||||
# 安装依赖
|
||||
RUN npm ci --only=production
|
||||
# 安装依赖(使用 install 而不是 ci)
|
||||
RUN npm install --only=production
|
||||
|
||||
# 复制源代码
|
||||
COPY src ./src
|
||||
|
||||
Reference in New Issue
Block a user