init project

This commit is contained in:
caiyuchao
2025-07-30 16:54:23 +08:00
commit 9e944f3053
12 changed files with 210 additions and 0 deletions

15
nginx/dockerfile Normal file
View File

@@ -0,0 +1,15 @@
# 基础镜像
FROM nginx
# author
MAINTAINER agt
# 挂载目录
VOLUME /home/agt/html
# 创建目录
RUN mkdir -p /home/agt/html
# 指定路径
WORKDIR /home/agt/html
# 复制conf文件到路径
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
# 复制html文件到路径
COPY ./html/dist /home/agt/html