ninarg commited on
Commit
d7bc2f6
·
verified ·
1 Parent(s): cf06469

Add Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+ WORKDIR /app
3
+ RUN apt-get update && apt-get install -y graphviz && rm -rf /var/lib/apt/lists/*
4
+ COPY requirements.txt .
5
+ RUN pip install --no-cache-dir -r requirements.txt
6
+ COPY app.py .
7
+ EXPOSE 7860
8
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"]