CoolFace
Apppublic

nihalbarcin/Kitchenware-Classification

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
Dockerfile24 linesDownload Raw Back to root
1FROM python:3.10-slim2 3WORKDIR /app4 5RUN apt-get update && apt-get install -y --no-install-recommends \6    build-essential \7    gcc \8    g++ \9    libglib2.0-0 \10    libsm6 \11    libxext6 \12    libxrender1 \13    && rm -rf /var/lib/apt/lists/*14 15COPY requirements.txt .16RUN pip install --upgrade pip && pip install -r requirements.txt17 18COPY src/efficientnetb3_model.keras /app/src/efficientnetb3_model.keras19COPY src/class_indices.json /app/src/class_indices.json20COPY src/streamlit_app.py /app/src/streamlit_app.py21 22EXPOSE 850123 24ENTRYPOINT ["streamlit","run","src/streamlit_app.py","--server.port=8501","--server.address=0.0.0.0","--server.enableXsrfProtection=false","--server.enableCORS=false"]