Zai commited on
Commit
1d214ea
·
1 Parent(s): 7d25959
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -17,7 +17,7 @@
17
 
18
 
19
 
20
- FROM python:3.7
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
- CMD ["python", "code.manage.py", "runserver", "0.0.0.0:7860"]
 
 
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"]