File size: 387 Bytes
f53cb7b
836ede6
f3dfbd4
f53cb7b
 
836ede6
 
 
f53cb7b
836ede6
 
 
 
 
 
 
f3dfbd4
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.10-slim

WORKDIR /app

# Copy requirements first for better caching
COPY requirements.txt .
RUN pip install -r requirements.txt

# Copy the rest of the application
COPY . .

# Make port configurable via environment variable
ENV PORT=8501

EXPOSE ${PORT}

# Use the correct path to app.py
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]