Improve Dockerfile and README
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Martin Müller 2020-11-23 22:53:05 +01:00
parent 8ae8f821f0
commit a6c4ddf205
2 changed files with 2 additions and 2 deletions

View File

@ -6,4 +6,4 @@ WORKDIR /var/www/html
VOLUME /var/www/html
EXPOSE 1313
ENTRYPOINT ["hugo", "serve", "--bind", "0.0.0.0", "--watch"]
ENTRYPOINT ["hugo", "serve", "--bind", "0.0.0.0", "--watch", "--disableFastRender"]

View File

@ -1,4 +1,4 @@
## Docker for local development and testing
1. Build Docker image: `docker build -t hugo .`
2. Run container: `docker run --rm -v $PWD:/var/www/html -p 8080:1313 hugo`
2. Run container: `docker run --rm -v $PWD:/var/www/html -p 1313:1313 hugo`