othmanezaid77 commited on
Commit
3e44d10
·
verified ·
1 Parent(s): ba36c74

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+ RUN apt-get update && apt-get install -y build-essential cmake
3
+ RUN pip install fastapi uvicorn llama-cpp-python requests
4
+ WORKDIR /code
5
+ COPY . .
6
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]