Frajosgro commited on
Commit
5db332e
·
verified ·
1 Parent(s): daab3b7

Create dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +14 -0
dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ WORKDIR /app
4
+ COPY . .
5
+
6
+ RUN pip install --no-cache-dir \
7
+ fastapi \
8
+ uvicorn \
9
+ langchain \
10
+ huggingface-hub \
11
+ langchain-community
12
+
13
+ EXPOSE 7860
14
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]