DEVELOPMENT ENVIRONMENT

~liljamo/liljamo-dev-zola

ref: cf70bc5c44ff94ef262bda5b3f260195fdc3167f liljamo-dev-zola/Dockerfile -rw-r--r-- 238 bytes
cf70bc5cJonni Liljamo feat: move tests to bottom 9 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