新增docker-compose部署 (#187)

* feat docker-compose deploy

* feat docker-compose deploy
This commit is contained in:
张琪灵
2023-03-02 18:07:54 +08:00
committed by GitHub
parent f234aebaec
commit 21cf1bdd9e
4 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
FROM hub.c.163.com/library/nginx
MAINTAINER jo "tionsin@live.com"
RUN rm -rf /etc/nginx/conf.d/default.conf
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY ./html/ /usr/share/nginx/html/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]