c3lf-system-3/deploy/testing/Dockerfile.backend

11 lines
272 B
Text
Raw Permalink Normal View History

2024-11-08 19:04:43 +00:00
FROM python:3.11-bookworm
LABEL authors="lagertonne"
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
COPY requirements.prod.txt /code/
RUN apt update && apt install -y mariadb-client
RUN pip install -r requirements.prod.txt
RUN pip install mysqlclient
COPY .. /code/