diff --git a/Dockerfile b/Dockerfile index d111cc8..2be300a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/README.md b/README.md index 9f44dd8..11c8273 100644 --- a/README.md +++ b/README.md @@ -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`