gengai
This commit is contained in:
10
Dockerfile/web/lessie_web_Dockerfile
Normal file
10
Dockerfile/web/lessie_web_Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
# 使用 Nginx 官方轻量镜像
|
||||
FROM nginx:1.25-alpine
|
||||
|
||||
# 拷贝前端构建产物
|
||||
COPY dist/ /usr/share/nginx/html/
|
||||
|
||||
# 暴露端口
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user