File size: 466 Bytes
fd70e2e
bc1b59f
 
 
0ad767f
 
 
 
 
 
 
 
0f5c3ef
 
bc1b59f
0ad767f
0f5c3ef
bc1b59f
0ad767f
268db10
bc1b59f
268db10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3.10

WORKDIR /app

# Install system libraries needed by ReportLab
RUN apt-get update && apt-get install -y \
    libfreetype6 \
    libjpeg62-turbo \
    libpng16-16 \
    && rm -rf /var/lib/apt/lists/*

# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy app
COPY app.py .

# HF requires 7860
EXPOSE 7860

CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]