Team Ai
Apppublic

MachineLearningReply/q-and-a-tool

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile30 linesDownload Raw Back to root
1FROM python:3.10-slim2 3WORKDIR /app4 5RUN apt-get update && apt-get install -y \6    build-essential \7    curl \8    software-properties-common \9    git \10    && rm -rf /var/lib/apt/lists/*11 12COPY requirements.txt .13 14RUN pip3 install -r requirements.txt15 16COPY . .17 18# extract version19COPY .git ./.git20RUN git rev-parse --short HEAD > revision.txt21RUN rm -rf ./.git22 23EXPOSE 850124 25HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health26 27ENV PYTHONPATH "${PYTHONPATH}:."28 29ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]30