Spaces:
Runtime error
Runtime error
thejagstudio
commited on
Commit
•
00db01d
1
Parent(s):
c8f9d6a
Update Dockerfile
Browse files- Dockerfile +8 -6
Dockerfile
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
-
FROM python:3
|
2 |
-
WORKDIR /usr/src/app
|
3 |
-
COPY requirements.txt ./
|
4 |
-
RUN
|
5 |
-
|
6 |
-
|
|
|
|
|
7 |
CMD ["python","./manage.py","runserver","0.0.0.0:7860"]
|
|
|
1 |
+
FROM python:3
|
2 |
+
WORKDIR /usr/src/app
|
3 |
+
COPY requirements.txt ./
|
4 |
+
RUN apt-get install python3-libtorrent
|
5 |
+
RUN apt-get install libtorrent-rasterbar-dev
|
6 |
+
RUN pip install -r requirements.txt
|
7 |
+
COPY . .
|
8 |
+
EXPOSE 7860
|
9 |
CMD ["python","./manage.py","runserver","0.0.0.0:7860"]
|