randydev commited on
Commit
b9dd5cd
·
verified ·
1 Parent(s): 8e8fa3c

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +25 -0
Dockerfile ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM rendyprojects/python:latest
2
+
3
+ RUN apt -qq update && \
4
+ apt -qq install -y --no-install-recommends ffmpeg \
5
+ curl \
6
+ git \
7
+ gnupg2 \
8
+ unzip \
9
+ wget \
10
+ python3-pip \
11
+ ffmpeg \
12
+ neofetch && \
13
+ apt-get clean && \
14
+ rm -rf /var/lib/apt/lists/
15
+
16
+ WORKDIR /usr/src/app
17
+ COPY . .
18
+ RUN pip3 install --upgrade pip setuptools==59.6.0
19
+ RUN pip3 install -r requirements.txt
20
+
21
+ RUN chmod -R 777 /usr/src/app
22
+
23
+ EXPOSE 7860
24
+
25
+ CMD ["bash", "-c", "python3 server.py & python3 main.py"]