planning-btp-leo (94ed3a4)

Published 2026-09-06 22:48:51 +02:00 by krokodyle

Installation

docker pull git.zestes.fr/krokodyle/planning-btp-leo:94ed3a4
sha256:4f16392e7bb37ca60a4cd6f938045683f5b80af11c4f30624b51357e6bb3bed1

Image layers

ADD alpine-minirootfs-3.22.5-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache ca-certificates tzdata && addgroup -S -g 1001 app && adduser -S -u 1001 -G app -h /app app # buildkit
WORKDIR /app
COPY /out/server ./server # buildkit
COPY templates/ ./templates/ # buildkit
COPY static/ ./static/ # buildkit
COPY migrations/ ./migrations/ # buildkit
RUN /bin/sh -c printf '%s\n' '#!/bin/sh' 'set -e' 'DIR=$(dirname "${DB_PATH:-/app/data/planning.db}")' 'mkdir -p "$DIR" 2>/dev/null || true' 'if [ ! -w "$DIR" ]; then' ' echo "ERREUR: $DIR non inscriptible par uid $(id -u):$(id -g)." >&2' ' echo " -> utilise le volume nomme (defaut), ou: chown 1001:1001 <dossier-hote>" >&2' ' exit 1' 'fi' 'exec /app/server "$@"' > /usr/local/bin/entrypoint.sh && chmod +x /usr/local/bin/entrypoint.sh # buildkit
RUN /bin/sh -c mkdir -p /app/data && chown -R app:app /app # buildkit
USER app
ENV PORT=8080 DB_PATH=/app/data/planning.db APP_ENV=production TZ=Europe/Paris
EXPOSE [8080/tcp]
VOLUME [/app/data]
HEALTHCHECK {Test:[CMD-SHELL wget -q --spider "http://127.0.0.1:${PORT}/login" || exit 1] Interval:30s Timeout:3s StartPeriod:5s StartInterval:0s Retries:3}
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
Details
Container
2026-09-06 22:48:51 +02:00
0
OCI / Docker
linux/amd64
14 MiB
Versions (73) View all
1.20.1 2026-10-07
latest 2026-10-07
c137a71 2026-10-07
742a8f3 2026-10-05
1.20.0 2026-10-05