Spaces:
Runtime error
Runtime error
Zai
commited on
Commit
·
1d214ea
1
Parent(s):
7d25959
try again
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
|
18 |
|
19 |
|
20 |
-
FROM python:3.
|
21 |
|
22 |
WORKDIR /code
|
23 |
|
@@ -27,4 +27,5 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
27 |
|
28 |
COPY . .
|
29 |
|
30 |
-
|
|
|
|
17 |
|
18 |
|
19 |
|
20 |
+
FROM python:3.9
|
21 |
|
22 |
WORKDIR /code
|
23 |
|
|
|
27 |
|
28 |
COPY . .
|
29 |
|
30 |
+
# Run app.py when the container launches
|
31 |
+
CMD ["python", "manage.py", "runserver", "0.0.0.0:7860"]
|