chore: 简化docker-compose部署 (#466)
parent
a2fcd31f24
commit
cbcbdda4c0
@ -1,10 +0,0 @@
|
|||||||
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;"]
|
|
Loading…
Reference in New Issue