CoolFace
Apppublic

mozilla-ai/structured-qa

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
4likes
Dockerfile27 linesDownload Raw Back to root
1FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.042 3RUN apt-get update && apt-get install --no-install-recommends -y \4  build-essential \5  python3.10 \6  python3.10-dev \7  python3-pip \8  git \9  && apt-get clean && rm -rf /var/lib/apt/lists/*10 11RUN useradd -m -u 1000 user12 13USER user14 15ENV HOME=/home/user \16	PATH=/home/user/.local/bin:$PATH17 18WORKDIR $HOME/app19 20RUN pip3 install https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.4-cu122/llama_cpp_python-0.3.4-cp310-cp310-linux_x86_64.whl21RUN pip3 install structured-qa22 23COPY --chown=user . $HOME/app24 25EXPOSE 850126ENTRYPOINT ["streamlit", "run", "app.py", "--server.enableXsrfProtection", "false"]27