Nebulixlabs commited on
Commit
e062396
·
verified ·
1 Parent(s): a34232c

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Dependencies install karna
6
+ COPY requirements.txt .
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ # Pura code copy karna
10
+ COPY . .
11
+
12
+ # Hugging Face ke default port 7860 par Uvicorn server chalana
13
+ EXPOSE 7860
14
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]