mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 07:23:41 -05:00
more WIP docker stuff
This commit is contained in:
parent
e75f8c944a
commit
8747a8ffe3
7 changed files with 44 additions and 15 deletions
|
|
@ -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" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue