新增docker-compose部署 (#187)

* feat docker-compose deploy

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

No files matched your search

+10
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;"]