Add Dockerfile for local development and testing

This commit is contained in:
Martin Müller 2020-11-05 19:53:42 +01:00
parent 9099ac39b4
commit d906a31f2a
1 changed files with 9 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -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"]