Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files3 unmodified lines45678910111213141516173 unmodified linesRUN apt-get update && apt-get install -y --no-install-recommends \curl \&& rm -rf /var/lib/apt/lists/*COPY requirements.txt ./RUN pip install --no-cache-dir -r requirements.txtCOPY . .EXPOSE 7860HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 1CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]3 unmodified lines4567891011121314151617183 unmodified linesRUN apt-get update && apt-get install -y --no-install-recommends \curl \&& rm -rf /var/lib/apt/lists/*COPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txtCOPY . .# Hugging Face Spaces uses $PORT (usually 7860)ENV PORT=7860EXPOSE 7860CMD ["bash", "-lc", "streamlit run app.py --server.address 0.0.0.0 --server.port ${PORT}"]
Dockerfile+5-4