bootstrap

This commit is contained in:
2025-10-09 18:16:51 -05:00
commit 59526558a9
7 changed files with 56 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM alpine:3.20 AS builder
RUN echo "@community https://dl-cdn.alpinelinux.org/alpine/v3.20/community" \
>> /etc/apk/repositories && \
apk add --no-cache zola
WORKDIR /site
COPY src/ .
RUN zola build --force
FROM nginx:alpine
COPY --from=builder /site/public /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]