File size: 230 Bytes
e995bf4
 
 
 
 
 
 
9cca841
e995bf4
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.11

WORKDIR /api

COPY ./ /api/

RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN poetry install --no-root

RUN mkdir /api/cache
RUN chmod a+rwx /api/cache

EXPOSE 7860

CMD ["python", "main.py"]