13 lines
344 B
Text
13 lines
344 B
Text
|
FROM python:3.11-bookworm
|
||
|
LABEL authors="lagertonne"
|
||
|
|
||
|
ENV PYTHONUNBUFFERED 1
|
||
|
RUN mkdir /code
|
||
|
WORKDIR /code
|
||
|
COPY requirements.dev.txt /code/
|
||
|
COPY requirements.prod.txt /code/
|
||
|
RUN apt update && apt install -y mariadb-client
|
||
|
RUN pip install -r requirements.dev.txt
|
||
|
RUN pip install -r requirements.prod.txt
|
||
|
RUN pip install mysqlclient
|
||
|
COPY . /code/
|