DEVELOPMENT ENVIRONMENT

~liljamo/liljamo-dev-zola

ref: 0d334b9f09ad3e09bd920f7132acc31277428e93 liljamo-dev-zola/Dockerfile -rw-r--r-- 238 bytes
0d334b9fJonni Liljamo feat: build file 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