vakodiya commited on
Commit
2a6fd75
1 Parent(s): 736fcde

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ WORKDIR /code
4
+
5
+ COPY ./requirements.txt /code/requirements.txt
6
+
7
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
+
9
+ COPY ./__init__.py /code/__init__.py
10
+ COPY ./credentials.env /code/credentials.env
11
+ COPY ./rag_retriver.py /code/rag_retriver.py
12
+ COPY ./main.py /code/main.py
13
+
14
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]