Merge pull request 'feat(docker): add dockerfile' (#3) from floomis-dockerfile into main

Reviewed-on: #3
This commit is contained in:
Forrest Loomis 2022-05-17 11:46:25 +00:00
commit c1a68fbd8b
2 changed files with 17 additions and 1 deletions

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
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

View File

@ -15,5 +15,5 @@ github = "cybercyst"
keybase = "forrestloomis"
[params.extra]
copyright = "© 2021 Forrest Loomis"
copyright = "© 2022 Forrest Loomis"
poweredby = true