liuchen864
9 months ago
2 changed files with 5 additions and 12 deletions
@ -1,6 +1,7 @@ |
|||||
FROM nginx |
# 设置基础镜像 |
||||
|
FROM nginx:WIN-1.25.3 |
||||
|
|
||||
WORKDIR /opt/sfms3.0 |
WORKDIR /opt/sfms3.0 |
||||
RUN rm /etc/nginx/conf.d/default.conf |
COPY nginx.conf /usr/local/nginx/conf/nginx.conf |
||||
ADD default.conf /etc/nginx/conf.d/ |
# 将dist文件中的内容复制到 /opt/sfms3.0 这个目录下面 |
||||
# 将sfms3.0文件中的内容复制到 /opt/sfms3.0 这个目录下面 |
|
||||
COPY sfms3.0/ /opt/sfms3.0 |
COPY sfms3.0/ /opt/sfms3.0 |
||||
|
Loading…
Reference in new issue