Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +7 -3
Dockerfile
CHANGED
|
@@ -10,10 +10,14 @@ RUN chmod -R 777 /app
|
|
| 10 |
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
-
RUN apt-get update && apt-get install -y ffmpeg python3 python3-pip python3-venv
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
RUN python3 -m venv /app/venv
|
| 16 |
|
| 17 |
-
RUN /app/venv/bin/pip install
|
| 18 |
|
| 19 |
-
CMD ["/app/venv/bin/python", "/app/
|
|
|
|
| 10 |
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
+
RUN apt-get update && apt-get install -y git ffmpeg python3 python3-pip python3-venv
|
| 14 |
+
|
| 15 |
+
RUN git clone https://github.com/hendrikbgr/discord-cloud-storage
|
| 16 |
+
|
| 17 |
+
RUN cd discord-cloud-storage
|
| 18 |
|
| 19 |
RUN python3 -m venv /app/venv
|
| 20 |
|
| 21 |
+
RUN /app/venv/bin/pip install -r requirements.txt
|
| 22 |
|
| 23 |
+
CMD ["/app/venv/bin/python", "/app/app.py"]
|