about-me/Dockerfile
Forrest Loomis 60443bbecb feat(docker): add dockerfile
This is part of a process that I hope will end up with me using K8s
on my homelab
2022-05-17 07:45:33 -04:00

17 lines
275 B
Docker

ARG HUGO_ENV=production
ARG HUGO_VERSION=0.98.0
FROM registry.gitlab.com/pages/hugo:$HUGO_VERSION as hugo
LABEL maintainer="loomis.forrest@gmail.com"
COPY . /app
WORKDIR /app
RUN HUGO_ENV=$HUGO_ENV hugo -v
FROM nginx
COPY --from=hugo /app/public /usr/share/nginx/html