diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..57de87f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM hugomods/hugo:exts as builder + +WORKDIR /site +COPY . . +RUN git submodule update --init --recursive && hugo --minify + +FROM nginx:alpine +COPY --from=builder /site/public /usr/share/nginx/html +EXPOSE 80