admin-ui ng转发域名增加
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
# ========== 构建前端 ==========
|
||||
FROM docker.m.daocloud.io/node:18-alpine AS builder
|
||||
FROM node:18-alpine AS builder
|
||||
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
|
||||
@@ -13,7 +13,7 @@ RUN npm run build
|
||||
|
||||
|
||||
# ========== 部署到 Nginx ==========
|
||||
FROM docker.m.daocloud.io/nginx:alpine
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=builder /app/dist/ /usr/share/nginx/html/
|
||||
COPY ngnix.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
Reference in New Issue
Block a user