浏览代码

Dockerfile

wangliang 1 月之前
父节点
当前提交
181f0f0ba6
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      web/tiku/Dockerfile

+ 12 - 0
web/tiku/Dockerfile

@@ -0,0 +1,12 @@
+FROM nginx:1.27.4
+ENV TZ Asia/Shanghai
+MAINTAINER wangliang@qmth.com.cn
+
+WORKDIR /opt
+RUN rm /etc/nginx/conf.d/default.conf
+COPY ./dist /opt/dist
+COPY ./dist-mark /opt/dist-mark
+COPY ./app.conf /etc/nginx/conf.d/app.conf
+COPY ./nginx.conf /etc/nginx/nginx.conf
+
+CMD ["nginx","-g","daemon off;"]