12 lines
195 B
Docker
12 lines
195 B
Docker
FROM alpine:3.20 AS build
|
|
|
|
WORKDIR /app
|
|
COPY . .
|
|
|
|
RUN apk add --no-cache hugo=0.125.4-r3
|
|
CMD ["hugo"]
|
|
|
|
FROM nginx:1.21.3-alpine AS production
|
|
|
|
COPY --from=build /app/public /usr/share/nginx/html
|