File size: 494 Bytes
9dc9b52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
678d96c
9dc9b52
 
 
 
255cfcd
 
 
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
FROM rendyprojects/python:latest

RUN apt -qq update && \
    apt -qq install -y --no-install-recommends ffmpeg \
    curl \
    git \
    gnupg2 \
    unzip \
    wget \
    python3-pip \
    ffmpeg \
    neofetch && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/

WORKDIR /usr/src/app
COPY . .
RUN pip3 install --upgrade pip setuptools==59.6.0
RUN pip3 install -r requirements.txt

RUN chmod -R 777 /usr/src/app

EXPOSE 7860

CMD ["bash", "-c", "python3 server.py & python3 main.py"]