DEVELOPMENT ENVIRONMENT

~liljamo/liljamo-dev-zola

ref: 127d39d7454b9289dfda7372f25d2e2cdc4bc2c6 liljamo-dev-zola/Dockerfile -rw-r--r-- 238 bytes
127d39d7Jonni Liljamo feat: script for building and pushing to own registry a month 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