DEVELOPMENT ENVIRONMENT

~liljamo/liljamo-dev-zola

ref: 3d2750f49f0db1a9239b7364fa7a1382da849432 liljamo-dev-zola/docker/Dockerfile -rw-r--r-- 238 bytes
3d2750f4Jonni Liljamo feat: build changes, justfile, nix package, direnv 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM alpine:edge AS builder

RUN apk add zola

RUN mkdir /src
WORKDIR /src

COPY . /src

RUN zola build

# --

FROM nginx:1.25.3-alpine

COPY --from=builder /src/public /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf