init repo

This commit is contained in:
SheinovM committed 2026-11-08 17:06:04 +03:00
commit 6c63a20d8d
24 files changed
+2010

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# Alpine, не Debian: на RedOS/RHEL старый libseccomp ломает apt GPG
# («At least one invalid signature was encountered»).
FROM python:3.12-alpine
RUN apk add --no-cache git git-lfs tzdata ca-certificates coreutils \
&& git lfs install --system
WORKDIR /app
COPY pyproject.toml README.md ./
COPY src ./src
RUN pip install --no-cache-dir .
ENV BACKUP_DIR=/backups \
PYTHONUNBUFFERED=1 \
TZ=Europe/Moscow
VOLUME ["/backups"]
ENTRYPOINT ["gitea-backup"]
CMD ["schedule"]