17 lines
275 B
Docker
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
|