Docker for python pelican blog with nginx

Posted on 29 May, 2019 in Products

TL;DR

Dockerised pelican blog with deployment of static pages to nginx.

dockerfile:

FROM python:3.7-alpine as base

# container setup.
FROM base as builder

RUN mkdir /install
WORKDIR /install
COPY . ./

# Install language pack.
RUN apk --no-cache add ca-certificates wget && \
    wget -q -O /etc/apk/keys/sgerrand.rsa.pub https …

Continue reading