Spaces:
Build error
Build error
Commit
·
2baaa3f
1
Parent(s):
9725bda
Upload Dockerfile
Browse files- Dockerfile +14 -0
Dockerfile
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM debian:latest
|
2 |
+
|
3 |
+
RUN apt update && apt upgrade -y
|
4 |
+
RUN apt install git python3-pip ffmpeg -y
|
5 |
+
|
6 |
+
RUN cd /
|
7 |
+
RUN git clone https://github.com/AsmSafone/MegaDL-Bot
|
8 |
+
RUN cd MegaDL-Bot
|
9 |
+
WORKDIR /MegaDL-Bot
|
10 |
+
|
11 |
+
RUN pip3 install --upgrade pip
|
12 |
+
RUN pip3 install -U -r requirements.txt
|
13 |
+
|
14 |
+
CMD python3 main.py
|