Merge pull request 'feat(docker): add dockerfile' (#3) from floomis-dockerfile into main
Reviewed-on: #3
This commit is contained in:
commit
c1a68fbd8b
16
Dockerfile
Normal file
16
Dockerfile
Normal 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
|
@ -15,5 +15,5 @@ github = "cybercyst"
|
||||
keybase = "forrestloomis"
|
||||
|
||||
[params.extra]
|
||||
copyright = "© 2021 Forrest Loomis"
|
||||
copyright = "© 2022 Forrest Loomis"
|
||||
poweredby = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user