Commit d8291e32 by zhangxingmin

push

parent 8d8d5d9f
...@@ -21,7 +21,7 @@ COPY . . ...@@ -21,7 +21,7 @@ COPY . .
RUN npm run build RUN npm run build
# 第二阶段:部署到 Nginx # 第二阶段:部署到 Nginx
FROM nginx:1.21-alpine FROM registry.cn-hangzhou.aliyuncs.com/library/nginx:1.21-alpine
# 复制构建产物到 Nginx 静态目录 # 复制构建产物到 Nginx 静态目录
COPY --from=builder /app/dist /usr/share/nginx/html COPY --from=builder /app/dist /usr/share/nginx/html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment