Spaces:
Running
Running
Create Dockerfile
Browse files- Dockerfile +23 -0
Dockerfile
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
19 |
+
RUN pip3 install -r requirements.txt
|
20 |
+
|
21 |
+
RUN chmod -R 777 /usr/src/app
|
22 |
+
|
23 |
+
CMD ["python3", "main.py"]
|