Files
docker-postgres-backup/Dockerfile.pg18
Eugene Morozov a115ffa8d0
All checks were successful
Build Docker Image / build-and-deploy-image (pg15) (push) Successful in 1m41s
Build Docker Image / build-and-deploy-image (pg16) (push) Successful in 1m39s
Build Docker Image / build-and-deploy-image (pg17) (push) Successful in 1m39s
Build Docker Image / build-and-deploy-image (pg18) (push) Successful in 1m43s
Revert "Temporary fix for building amd packages"
This reverts commit e10c7aa270.
2025-12-18 14:24:38 +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 postgresql18-client python3 py3-pip tini
COPY ./ $APP_HOME
WORKDIR $APP_HOME
RUN python3 -m pip install $APP_HOME
ENTRYPOINT ["tini", "--"]
CMD ["python3", "start.py"]