Spaces:
Sleeping
Sleeping
# Use official Python slim image | |
FROM python:3.10-slim | |
# Set working directory | |
WORKDIR /app | |
# Copy requirements and install | |
COPY requirements.txt . | |
RUN pip install --upgrade pip | |
RUN pip install -r requirements.txt | |
# Copy app files | |
COPY . . | |
# Expose port Streamlit uses | |
EXPOSE 8501 | |
# Run Streamlit app | |
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] | |