py-rus commited on
Commit
125c5bc
·
verified ·
1 Parent(s): 2f8f943

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.14-slim
2
+ RUN apt-get update && apt-get install -y build-essential cmake && rm -rf /var/lib/apt/lists/*
3
+ WORKDIR /app
4
+ COPY . .
5
+ RUN pip install --no-cache-dir streamlit llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
6
+ EXPOSE 7860
7
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]