Spaces:
Running
Running
# Use a small Python base image | |
FROM python:3.12-slim | |
WORKDIR /app | |
# Copy and install dependencies | |
COPY requirements.txt . | |
RUN pip install --upgrade pip && \ | |
pip install -r requirements.txt | |
# Copy all project files | |
COPY . . | |
# Expose Streamlit port and run | |
EXPOSE 8501 | |
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] | |