瀏覽代碼

no message

Gavin 6 年之前
父節點
當前提交
90e4453b09
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      k8swebapi-nginx/Dockerfile

+ 1 - 4
k8swebapi-nginx/Dockerfile

@@ -4,15 +4,12 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
 RUN echo 'Asia/Shanghai' > /etc/timezone
 
 RUN rm -f /etc/nginx/conf.d/default.conf
-RUN rm -f /etc/nginx/tcp.d/default.conf
 COPY nginx.conf /etc/nginx/nginx.conf
 COPY conf.d /etc/nginx/conf.d/
-COPY tcp.d /etc/nginx/tcp.d/
 COPY ssl /etc/nginx/ssl/
 
 RUN rm -rf /usr/share/nginx/html
 RUN mkdir /usr/share/nginx/html
 #COPY html /usr/share/nginx/html/
 
-EXPOSE 8006
-EXPOSE 8050
+EXPOSE 8006