added dockerfile
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1 @@
|
||||
scottyah-blog/public/*
|
||||
hugo-content/public/*
|
||||
|
||||
8
Dockerfile
Normal file
8
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user