DeepActionPotential commited on
Commit
1b378f9
·
verified ·
1 Parent(s): 52cedaa

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,3 +1,4 @@
 
1
  FROM python:3.12-slim
2
 
3
  WORKDIR /app
@@ -7,10 +8,10 @@ COPY requirements.txt .
7
 
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
10
- Copy the rest of the application code
11
- COPY . .
12
-
13
  RUN pip install gunicorn
14
 
 
 
 
15
 
16
  CMD exec gunicorn --bind :7860 --workers 1 --threads 8 app:app
 
1
+
2
  FROM python:3.12-slim
3
 
4
  WORKDIR /app
 
8
 
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
 
 
 
11
  RUN pip install gunicorn
12
 
13
+ Copy all application code (including app.py and any static files) into the container
14
+ COPY . .
15
+
16
 
17
  CMD exec gunicorn --bind :7860 --workers 1 --threads 8 app:app