Somalitts commited on
Commit
ebf3ee0
·
verified ·
1 Parent(s): c104d0c

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Isticmaal Python 3.10 base image
2
+ FROM python:3.10
3
+
4
+ # Samee working directory
5
+ WORKDIR /app
6
+
7
+ # Nuqul requirements
8
+ COPY requirements.txt .
9
+
10
+ # Ku rakib dependencies
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
+
13
+ # Nuqul dhammaan file-yada kale
14
+ COPY . .
15
+
16
+ # Run FastAPI app from app.py
17
+ CMD ["uvicorn", "doctor:app", "--host", "0.0.0.0", "--port", "7860"]