Skip to content

Commit

Permalink
Merge pull request #16 from FacerAin/feat/retrieval
Browse files Browse the repository at this point in the history
[#15] feat: add Dockerfile
  • Loading branch information
FacerAin authored Nov 14, 2023
2 parents 5533060 + a9baa93 commit 9cde49c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ COPY ./requirements.txt /requirements.txt

RUN pip install -r requirements.txt

EXPOSE 5000
EXPOSE 1009

ENV PYTHONPATH $PWD
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "1009"]

CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "5000"]
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
langchain==0.0.310
fastapi==0.103.0
uvicorn==0.23.2
pinecone-client==2.2.4
openai==0.28.1
python-dotenv==1.0.0
Expand Down

0 comments on commit 9cde49c

Please sign in to comment.