From a6c4ddf205754cebdb0ee03e9c1adc4a2911fc96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Mon, 23 Nov 2020 22:53:05 +0100 Subject: [PATCH] Improve Dockerfile and README --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`