Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
693d9673b4 | ||
|
|
7354dbfab5 |
@@ -1 +1 @@
|
||||
VUE_APP_API_BASE_URL=https://apis.lihailezzc.com
|
||||
VUE_APP_API_BASE_URL=https://api.ai-meng.com
|
||||
@@ -20,7 +20,7 @@ RUN pnpm run build
|
||||
|
||||
|
||||
# 2️⃣ 生产部署阶段(用 nginx 托管)
|
||||
FROM images.lihailezzc.com/library/node:20-alpine
|
||||
FROM images.lihailezzc.com/library/nginx:alpine
|
||||
|
||||
# 拷贝构建好的 dist 到 nginx 的 html 目录
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
8
docker-compose.yml
Normal file
8
docker-compose.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
api_client:
|
||||
container_name: api_client
|
||||
image: client
|
||||
ports:
|
||||
- 5001:80
|
||||
Reference in New Issue
Block a user