File size: 471 Bytes
626c860
2909c70
 
 
626c860
 
 
 
64a69fe
626c860
 
 
f1bad0b
626c860
 
 
2909c70
626c860
 
2909c70
626c860
2909c70
626c860
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.11-slim

WORKDIR /app

# Install system dependencies
RUN apt-get update && \
    apt-get install -y curl && \
    rm -rf /var/lib/apt/lists/*

# Copy setup.sh and run it
COPY setup.sh .
RUN chmod +x setup.sh && ./setup.sh

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

# Copy app code
COPY app.py .

EXPOSE 8501

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