preferences/Dockerfile
2026-09-26 13:38:27 +03:30

14 lines
515 B
Docker

FROM debian:13
ENV PYTHONUNBUFFERED=1
WORKDIR /app
RUN apt update && \
apt install -y python3 python3-pip binutils libproj-dev gdal-bin cron && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/requirements.txt
RUN pip3 install --break-system-packages --ignore-installed -r requirements.txt
RUN pip3 install --break-system-packages setuptools
# In docker compose the ./preferences:/app volume overrides this copy;
# in CI the image has to carry the code itself.
COPY . /app
#ENTRYPOINT ["./run.sh"]