Spaces:
Sleeping
Sleeping
add dockerfile
Browse files- 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"]
|