Files
PropertyDeployment/resources/Web/PropertyApp/Dockerfile
2025-12-09 20:22:03 +08:00

15 lines
295 B
Docker

FROM nginx:alpine
MAINTAINER anfioo
# 把当前目录下的 nginx.conf 复制到容器的 Nginx 配置目录
COPY nginx.conf /etc/nginx/conf.d/default.conf
# 把 html 目录复制到容器的 /usr/share/nginx/html
COPY html /PropertyApp
EXPOSE 8114
ENTRYPOINT ["nginx","-g","daemon off;"]