Download Dockerfile from Housable/LangChain: direct link, hf CLI and curl.
- Browser
- Download file 453 Bytes
-
https://huggingface.co/spaces/Housable/LangChain/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Housable/LangChain/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Housable/LangChain/resolve/main/Dockerfile
453 Bytes
| FROM dcd018/detectron2:latest | |
| ENV PYTHONPATH=/home/appuser/app | |
| RUN sudo apt update -y && sudo apt install -y tesseract-ocr poppler-utils | |
| COPY ./start /usr/local/bin/ | |
| USER appuser | |
| WORKDIR /home/appuser/app | |
| COPY ./requirements.txt /home/appuser/app/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade --user -r /home/appuser/app/requirements.txt | |
| COPY ./ /home/appuser/app/ | |
| #RUN pip install --user -e /home/appuser/app/unilm | |
| CMD ["start"] | |