Update Dockerfile
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
@@ -2,11 +2,6 @@
|
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
|
5 |
-
# 安装前清理缓存
|
6 |
-
RUN npm cache clean --force
|
7 |
-
RUN npm install
|
8 |
-
RUN npm run build
|
9 |
-
|
10 |
|
11 |
# 使用多阶段构建
|
12 |
# 阶段 1:构建前端
|
|
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
# 使用多阶段构建
|
7 |
# 阶段 1:构建前端
|