tommy24 commited on
Commit
74e33e5
·
verified ·
1 Parent(s): cc9c782

Create Dockerfile

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