9 lines
224 B
Docker
9 lines
224 B
Docker
FROM docker.io/hugomods/hugo:exts AS builder
|
|
|
|
WORKDIR /site
|
|
COPY . .
|
|
RUN git submodule update --init --recursive && hugo --minify
|
|
|
|
FROM docker.io/nginx:alpine
|
|
COPY --from=builder /site/public /usr/share/nginx/html
|
|
EXPOSE 80
|