初始化
This commit is contained in:
9
frontend/Dockerfile.frontend
Normal file
9
frontend/Dockerfile.frontend
Normal file
@@ -0,0 +1,9 @@
|
||||
# ===== 前端 Nginx =====
|
||||
FROM nginx:alpine
|
||||
|
||||
# 先构建好 Vue 再打镜像
|
||||
COPY static/dist/ /usr/share/nginx/html/
|
||||
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 3006
|
||||
Reference in New Issue
Block a user