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

COPY package*.json ./ COPY package*.json ./


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


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

Loading…
Cancel
Save