Browse Source

dockerfile

master
feing 7 months ago
parent
commit
0c7ec803a1
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile View File

@@ -8,7 +8,8 @@ WORKDIR /app
COPY package*.json ./

# 安装依赖
RUN npm install
RUN npm config set registry https://registry.npmmirror.com && \
npm install

# 将项目文件拷贝到工作目录
COPY . .

Loading…
Cancel
Save