Commit 9c7bf7ec by Tang

镜像配置修改

parent f62c5d85
FROM nginx FROM nginx
RUN rm -rf /usr/share/nginx/html/* #RUN rm -rf /usr/share/nginx/html/*
RUN rm -rf /etc/nginx/conf.d/* 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 nginx.conf /etc/nginx/conf.d/
COPY docker-entrypoint.sh /usr/local/bin/ COPY docker-entrypoint.sh /usr/local/bin/
......
...@@ -12,7 +12,7 @@ gzip_vary on; ...@@ -12,7 +12,7 @@ gzip_vary on;
gzip_disable "MSIE [1-6]\."; gzip_disable "MSIE [1-6]\.";
server { server {
listen 8088; listen 8080;
server_name 81.68.189.225; server_name 81.68.189.225;
location / { location / {
root /usr/share/nginx/html; 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