cjber commited on
Commit
fe9289d
·
1 Parent(s): eed0e46

add dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.10.9
2
+
3
+ WORKDIR /
4
+ COPY . .
5
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
6
+
7
+ CMD ["fastapi", "run", "src/search_api/api.py", "--port", "7860"]