Team Ai
Apppublic

syariefsq/ComputerVisionRoadCleanlinessClassifier

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile24 linesDownload Raw Back to root
1FROM python:3.9-slim2 3WORKDIR /app4 5ENV HOME=/app6RUN mkdir -p /app/.streamlit && chmod -R 777 /app/.streamlit7 8RUN apt-get update && apt-get install -y \9    build-essential \10    curl \11    software-properties-common \12    git \13    && rm -rf /var/lib/apt/lists/*14 15COPY requirements.txt ./16COPY src/ ./src/17 18RUN pip3 install -r requirements.txt19 20EXPOSE 850121 22HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health23 24ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]