Commit 9c7bf7ec by Tang

镜像配置修改

parent f62c5d85
FROM nginx
RUN rm -rf /usr/share/nginx/html/*
#RUN rm -rf /usr/share/nginx/html/*
RUN rm -rf /etc/nginx/conf.d/*
COPY dist /usr/share/nginx/html
#COPY dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/
COPY docker-entrypoint.sh /usr/local/bin/
......
......@@ -12,7 +12,7 @@ gzip_vary on;
gzip_disable "MSIE [1-6]\.";
server {
listen 8088;
listen 8080;
server_name 81.68.189.225;
location / {
root /usr/share/nginx/html;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment