Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files4 unmodified lines5678910101112131415121617181920172122232021222424254 unmodified lines# Install system dependenciesRUN apt-get update && apt-get install -y \ curl \ build-essential \ && rm -rf /var/lib/apt/lists/*
# Copy requirements and install Python packages# Copy requirements first for better cachingCOPY requirements.txt .
# Install Python packagesRUN pip install --no-cache-dir --upgrade pip && \RUN pip install --no-cache-dir -r requirements.txt pip install --no-cache-dir -r requirements.txt
# Copy application filesCOPY . .
# Expose Streamlit port# Expose Streamlit default portEXPOSE 7860
# Health checkHEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 1
# Run StreamlitCMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"]Dockerfile+8-7