Spaces:
Runtime error
Runtime error
FROM python:3.10-slim | |
# Install system dependencies | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Install Python dependencies | |
RUN pip install --no-cache-dir streamlit pandas numpy scikit-learn openpyxl | |
# Copy app | |
WORKDIR /app | |
COPY app.py /app/app.py | |
# Expose the port that Streamlit uses | |
EXPOSE 7860 | |
# Run Streamlit app | |
CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"] | |