Files
docker-postgres-backup/Dockerfile.pg16
Eugene Morozov 594534ed64
Some checks failed
Build Docker Image / build-and-deploy-image (pg15) (push) Successful in 1m55s
Build Docker Image / build-and-deploy-image (pg16) (push) Failing after 21s
Build Docker Image / build-and-deploy-image (pg17) (push) Failing after 21s
Build Docker Image / build-and-deploy-image (pg18) (push) Failing after 22s
Release 0.6: Added Postgres 18; Updated libs
2025-12-13 15:03:50 +02:00

21 lines
440 B
Docker

FROM alpine:3.23
ENV APP_HOME=/home/app/docker-postgres-backup \
PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_BREAK_SYSTEM_PACKAGES=1 \
PIP_NO_CACHE_DIR=off \
PIP_DISABLE_PIP_VERSION_CHECK=on \
LANG=en_US.UTF-8
RUN apk --no-cache add postgresql16-client python3 py3-pip tini
COPY ./ $APP_HOME
WORKDIR $APP_HOME
RUN python3 -m pip install $APP_HOME
ENTRYPOINT ["tini", "--"]
CMD ["python3", "start.py"]