right-tree/backend/Dockerfile
Matthew Northcott 3f9f816a7e [#40] Bulk PDF export
- backend changes
2023-02-22 15:08:30 +13:00

16 lines
351 B
Docker

FROM python:3.11-slim-bullseye
WORKDIR /app
RUN apt update \
&& apt install -y --no-install-recommends gdal-bin wkhtmltopdf \
&& rm -rf /var/lib/apt/lists/* \
&& apt clean
COPY ./requirements.txt /app/requirements.txt
RUN pip install -U --no-cache-dir -r requirements.txt
COPY . /app
ENV DJANGO_SETTINGS_MODULE="right_tree.settings"