0908
This commit is contained in:
13
office-site/Dockerfile
Normal file
13
office-site/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
# 泽枢云启 官方网站 —— 静态站点镜像
|
||||
FROM nginx:1.27-alpine
|
||||
|
||||
# 站点静态文件
|
||||
COPY index.html guide.html report.html support.html /usr/share/nginx/html/
|
||||
COPY assets/ /usr/share/nginx/html/assets/
|
||||
|
||||
# 自定义 nginx 配置(支持无后缀访问 /guide、/report、/support)
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user