Pamudu13 commited on
Commit
ff897c6
·
verified ·
1 Parent(s): bf2598b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -6
Dockerfile CHANGED
@@ -19,14 +19,9 @@ COPY requirements.txt .
19
  # Install Python dependencies
20
  RUN pip install --no-cache-dir -r requirements.txt
21
 
22
- # Copy the application code
23
- COPY . .
24
-
25
- # Rename app1.py to app.py since that's more standard
26
- RUN mv app.py app.py
27
 
28
  # Make port 7860 available to the world outside this container
29
  EXPOSE 7860
30
 
31
  # Run the application using gunicorn
32
- CMD gunicorn --bind 0.0.0.0:7860 app:app
 
19
  # Install Python dependencies
20
  RUN pip install --no-cache-dir -r requirements.txt
21
 
 
 
 
 
 
22
 
23
  # Make port 7860 available to the world outside this container
24
  EXPOSE 7860
25
 
26
  # Run the application using gunicorn
27
+ CMD gunicorn --bind 0.0.0.0:7860 app:app