feat: 打包调整
This commit is contained in:
1 parent
7a43f1c1d1
commit
3e07e47e13
19 files changed
+3
-3
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# 基础镜像
|
||||
FROM nginx:1.29.0
|
||||
# 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
|
||||
Reference in new issue
Block a user