CoolFace
Apppublic

fgonon/stackoverflow_tagpredict

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
Dockerfile26 linesDownload Raw Back to root
1FROM python:3.10-slim2 3WORKDIR /app4 5# install git for git-lfs handling if needed, and basic utils6RUN apt-get update && apt-get install -y \7    git \8    && rm -rf /var/lib/apt/lists/*9 10# copy requirements first to leverage cache11COPY requirements.txt .12RUN pip install --no-cache-dir -r requirements.txt13 14# copy everything15COPY . .16 17# expose ports: 7860 for streamlit (hf default), 8000 for api18EXPOSE 786019EXPOSE 800020 21# make start script executable22RUN chmod +x start.sh23 24# set entrypoint25ENTRYPOINT ["./start.sh"]26