Files
scottyah-blog/Dockerfile

10 lines
329 B
Docker

FROM alpine:latest
RUN apk add --no-cache git hugo
RUN git clone https://github.com/scottyah/scottyah-blog.git
RUN git submodule add https://github.com/monkeyWzr/hugo-theme-cactus.git scottyah-blog/hugo-content/themes/cactus
WORKDIR scottyah-blog/hugo-content
EXPOSE 1313:1313
CMD ["hugo", "server", "--bind", "0.0.0.0", "-D"]