Browse Source

修改dockerfile

master
liuchen864 9 months ago
parent
commit
abdb80470d
  1. 10
      Dockerfile

10
Dockerfile

@ -1,9 +1,7 @@
FROM alpine
MAINTAINER wenyin
# 设置基础镜像
FROM win-nginx
WORKDIR /opt/sfms3.0
RUN apk --update add nginx
COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx.conf /usr/local/nginx/conf/nginx.conf
# 将dist文件中的内容复制到 /opt/sfms3.0 这个目录下面
COPY sfms3.0/ /opt/sfms3.0
EXPOSE 80
CMD ["nginx","-g","daemon off;"]

Loading…
Cancel
Save