From d906a31f2afc674e5eb13d5c94eb704072548e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Thu, 5 Nov 2020 19:53:42 +0100 Subject: [PATCH] Add Dockerfile for local development and testing --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d111cc8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine:3.12 + +RUN apk add --no-cache hugo + +WORKDIR /var/www/html +VOLUME /var/www/html +EXPOSE 1313 + +ENTRYPOINT ["hugo", "serve", "--bind", "0.0.0.0", "--watch"]