正在显示
1 个修改的文件
包含
0 行增加
和
7 行删除
@@ -2,16 +2,9 @@ FROM node:16-alpine | @@ -2,16 +2,9 @@ FROM node:16-alpine | ||
2 | 2 | ||
3 | WORKDIR /opt/work/hro/frontend/hro | 3 | WORKDIR /opt/work/hro/frontend/hro |
4 | 4 | ||
5 | -COPY package*.json ./ | ||
6 | 5 | ||
7 | COPY . ./server | 6 | COPY . ./server |
8 | 7 | ||
9 | -RUN apk add --no-cache git | ||
10 | - | ||
11 | -RUN npm config set registry https://registry.npmmirror.com | ||
12 | - | ||
13 | -RUN npm install | ||
14 | - | ||
15 | 8 | ||
16 | EXPOSE 3000 | 9 | EXPOSE 3000 |
17 | 10 |
请
注册
或
登录
后发表评论