11 lines
304 B
Docker
11 lines
304 B
Docker
FROM alpine
|
|
RUN apk add hugo git
|
|
WORKDIR /hugo
|
|
RUN hugo new site /hugo
|
|
RUN git clone https://github.com/yihui/hugo-xmin.git themes/hugo-xmin
|
|
ADD hugo.toml /hugo/hugo.toml
|
|
ADD content /hugo/content
|
|
ADD static /hugo/static
|
|
ADD shortcodes /hugo/layouts/shortcodes
|
|
CMD ["hugo", "serve", "--bind", "0.0.0.0"]
|