Gaurav711 commited on
Commit
2d1da97
·
verified ·
1 Parent(s): 76143cb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -18
Dockerfile CHANGED
@@ -20,15 +20,9 @@ USER appuser
20
  EXPOSE 7860
21
 
22
  CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
23
-
24
- ---
25
-
26
- **Step 2 — Edit requirements.txt:**
27
- ```
28
- notepad requirements.txt
29
  ```
30
 
31
- Replace everything with:
32
  ```
33
  fastapi==0.110.0
34
  uvicorn==0.29.0
@@ -36,14 +30,4 @@ pydantic==2.6.4
36
  openai==1.30.0
37
  requests==2.31.0
38
  python-multipart==0.0.9
39
- httpx==0.27.0
40
- ```
41
- Save and close.
42
-
43
- ---
44
-
45
- **Step 3 — Push:**
46
- ```
47
- git add Dockerfile requirements.txt
48
- git commit -m "Fix Dockerfile and requirements"
49
- git push
 
20
  EXPOSE 7860
21
 
22
  CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
 
 
23
  ```
24
 
25
+ **requirements.txt:**
26
  ```
27
  fastapi==0.110.0
28
  uvicorn==0.29.0
 
30
  openai==1.30.0
31
  requests==2.31.0
32
  python-multipart==0.0.9
33
+ httpx==0.27.0