Fix docker bugs
This commit is contained in:
parent
25b401348e
commit
cc41fabb72
|
@ -30,7 +30,7 @@ RUN find . -maxdepth 1 ! -name '_site' -exec rm -rf {} \;
|
||||||
|
|
||||||
RUN mv _site/* .
|
RUN mv _site/* .
|
||||||
|
|
||||||
RUN rm -R _site/
|
RUN rm -R _site/ docker README.md LICENSE.md
|
||||||
|
|
||||||
FROM cupcakearmy/static
|
FROM cupcakearmy/static
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ services:
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 9999:80
|
- 9998:80
|
||||||
volumes:
|
volumes:
|
||||||
- ./_site:/srv:ro
|
- ../_site:/srv:ro
|
||||||
- ./default.conf:/usr/local/nginx/conf/sites/default.conf
|
- ./default.conf:/usr/local/nginx/conf/sites/default.conf
|
||||||
|
|
Loading…
Reference in New Issue