This repository has been archived on 2024-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
website/Dockerfile

14 lines
274 B
Docker
Raw Normal View History

2024-05-24 11:43:23 +00:00
FROM alpine:latest as build
WORKDIR /build
RUN apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community hugo
COPY ./ ./
RUN hugo
FROM nginx:latest
COPY ./nginx.conf /etc/nginx/nginx.conf
COPY --from=build /build/public /usr/share/nginx/html