fix bug in initial db creation caused by prometheus lib rtying to access tables at load time
All checks were successful
/ test (push) Successful in 2m27s
/ deploy (push) Successful in 3m22s

This commit is contained in:
j3d1 2025-03-09 18:47:59 +01:00
parent 6b0def543c
commit d80fb60afd
8 changed files with 41 additions and 33 deletions

View file

@ -1,13 +1,8 @@
FROM python:3.11-bookworm
FROM python:3.11-slim-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/
RUN pip install -r requirements.dev.txt