FROM python:3.11-slim-bookworm LABEL authors="lagertonne" ENV PYTHONUNBUFFERED 1 RUN mkdir /code WORKDIR /code RUN apt update && apt install -y pkg-config mariadb-client default-libmysqlclient-dev build-essential RUN pip install mysqlclient COPY requirements.prod.txt /code/ RUN pip install -r requirements.prod.txt COPY .. /code/