File size: 486 Bytes
2f158fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9686c22
 
fa6b0f9
2f158fd
 
b2eb47f
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM rendyprojects/python:latest

WORKDIR /app/

 RUN apt -qq update
 RUN apt -qq install -y --no-install-recommends \
    curl \
    git \
    gnupg2 \
    unzip \
    wget \
    python3-pip \
    ffmpeg \
    neofetch

COPY . .


RUN pip install --upgrade pip setuptools
RUN pip3 install -U motor
RUN pip3 install -r requirements.txt

RUN chown -R 1000:0 .
RUN chmod 777 .
RUN chown -R 1000:0 /usr
RUN chmod 777 /usr

CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]