add docker env for integration testing

This commit is contained in:
j3d1 2024-11-08 20:04:43 +01:00
parent 9f5b420095
commit 38a24e4e06
6 changed files with 101 additions and 1 deletions

View file

@ -0,0 +1,11 @@
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/