PIYUSH BOSS commited on
Commit
9e1f930
·
verified ·
1 Parent(s): c2bb55d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -6
Dockerfile CHANGED
@@ -1,8 +1,13 @@
1
- FROM ghcr.io/huggingface/text-generation-inference:1.4
2
 
3
- # Tumhare Model ka ID
4
- ENV MODEL_ID=Piyush-boss/Nexari-Qwen-3B-Full
5
- ENV PORT=7860
6
 
7
- # Server start karne ki command
8
- CMD ["--model-id", "Piyush-boss/Nexari-Qwen-3B-Full", "--port", "7860"]
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
 
3
+ WORKDIR /code
 
 
4
 
5
+ # Zaroori libraries install karo
6
+ RUN pip install --no-cache-dir --upgrade pip
7
+ RUN pip install --no-cache-dir fastapi uvicorn transformers torch accelerate
8
+
9
+ # Tumhara code copy karo
10
+ COPY . .
11
+
12
+ # Server start karo
13
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]