Files
robbis.space/themes/gokarna/Containerfile
Robert Rapp 1f354130bb Theme fest ins Repo uebernehmen statt als Submodule
Ein normaler git clone holt Submodules nicht mit - geprueft: nach dem
Klonen des Repos war themes/gokarna leer. Portainer klont ebenso, der
Build im Container waere also an dem fehlenden Theme gescheitert.

Gokarna liegt jetzt direkt im Repo, festgeschrieben auf Commit 8306042,
den Stand, mit dem die Seite bisher gebaut wurde. .gitmodules entfaellt.

Nachteil: Theme-Updates muessen kuenftig von Hand eingespielt werden.
Dafuer baut das Repo aus jedem beliebigen Klon heraus, ohne
Sonderbehandlung.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-03 01:25:39 +02:00

18 lines
367 B
Docker

FROM python:alpine
# Enable monospace fonts
RUN apk add font-inconsolata fontconfig
RUN fc-cache -fv
WORKDIR /app
# Install dependencies
RUN apk add firefox geckodriver hugo
COPY requirements.txt requirements.txt
RUN pip install --requirement requirements.txt
# We mount the gokarna source code to avoid rebuilding the image
CMD [ "python", "./screenshot.py" ]