added dockerfile

This commit is contained in:
2022-07-31 16:39:41 -07:00
parent 531f865e6d
commit e533f4598f
2 changed files with 9 additions and 1 deletions

2
.gitignore vendored
View File

@@ -1 +1 @@
scottyah-blog/public/*
hugo-content/public/*

8
Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM alpine:latest
RUN apk add --no-cache git hugo
RUN git clone https://github.com/scottyah/scottyah-blog.git
WORKDIR scottyah-blog
EXPOSE 1313:1313
CMD ["hugo", "server", "--bind", "0.0.0.0", "-D"]