Spaces:
Sleeping
Sleeping
File size: 409 Bytes
686a009 85da052 0f9156f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# Use lightweight Python base image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy app code and requirements
COPY requirements.txt .
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose HF Spaces port
EXPOSE 7860
# Run Streamlit using the shell form (RECOMMENDED FIX)
CMD streamlit run ./streamlit_app.py --server.port=7860 --server.headless=true |