Anjali04-15 commited on
Commit
ffabdb7
·
verified ·
1 Parent(s): ce198ce

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ # Create app directory
4
+ WORKDIR /app
5
+
6
+ # Copy source files
7
+ COPY . .
8
+
9
+ # Install dependencies
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ # Run the FastAPI app using uvicorn
13
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]