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