Test für Git AutoClone
All checks were successful
release-tag / release-image (push) Successful in 2m14s

This commit is contained in:
2025-05-11 16:16:52 +02:00
parent 4c41bb8838
commit ca22dd8596
3 changed files with 225 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ FROM debian:bookworm-slim
# (optional) MySQLClient für später
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
ca-certificates git \
&& rm -rf /var/lib/apt/lists/*
# ─── Binärdatei ─────
@@ -60,6 +60,11 @@ ENV BLOG_STATIC_DIR=/static
ENV BLOG_PAGES_DIR=/pages
ENV BLOG_TEMPLATES_DIR=/templates
ENV BLOG_TICKS_DIR=/ticks
ENV GIT_ENABLE=false
ENV GIT_REPO=null
ENV GIT_BRANCH=main
ENV GIT_DIR=/git-temp
ENV GIT_INTERVAL=10
EXPOSE 8080
CMD ["blog"]