more WIP docker stuff

This commit is contained in:
Micha Albert 2024-09-09 20:03:16 -04:00
parent e75f8c944a
commit 8747a8ffe3
7 changed files with 44 additions and 15 deletions

View file

@ -12,10 +12,12 @@ RUN apt-get install -y python3-opencv
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py schema.prisma .
COPY schema.prisma .
COPY migrations .
ADD migrations .
RUN prisma generate
COPY main.py .
CMD [ "fastapi", "run", "main.py" ]