From 0dbd4c12488bd365a86e4726b2ae689b2da86a7c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 3 Dec 2022 09:50:12 +0100 Subject: frontend: fix /mnt/cgitize being inaccessible to nginx I've had problems with doing "FROM nginx" instead of "FROM alpine" in the past, but hopefully fixing a version is enough to prevent them. --- docker/frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/frontend/Dockerfile') diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 38e5382..7254115 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.17 AS base +FROM nginx:1.23-alpine AS base FROM base AS builder @@ -22,7 +22,7 @@ RUN apk add --no-cache py3-pip && \ FROM base -RUN apk add --no-cache cgit dash fcgiwrap nginx python3 spawn-fcgi tini && \ +RUN apk add --no-cache cgit dash fcgiwrap python3 spawn-fcgi tini && \ # Replace the theme with the one I like better: grep -q -F -- "style='pastie'" /usr/lib/cgit/filters/syntax-highlighting.py && \ sed -i -e "s/style='pastie'/style='vs'/" -- /usr/lib/cgit/filters/syntax-highlighting.py -- cgit v1.2.3