Spaces:
Runtime error
Runtime error
Download Dockerfile from dastratman/RAG_API: direct link, hf CLI and curl.
- Browser
- Download file 517 Bytes
-
https://huggingface.co/spaces/dastratman/RAG_API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dastratman/RAG_API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dastratman/RAG_API/resolve/main/Dockerfile
517 Bytes
| FROM ghcr.io/danny-avila/librechat-rag-api-dev:latest | |
| ENV RAG_PORT=7860 | |
| # ENV EMBEDDINGS_PROVIDER=huggingface | |
| # ENV EMBEDDINGS_MODEL='intfloat/multilingual-e5-large-instruct' | |
| # "numDimensions": 1024 | |
| # Default HF model -> "numDimensions": 384 | |
| ENV HF_HOME=/app/.cache | |
| ENV VECTOR_DB_TYPE=atlas-mongo | |
| ENV COLLECTION_NAME=rag | |
| ENV ATLAS_SEARCH_INDEX=vector_index | |
| RUN mkdir -p /app/uploads && chmod -R 777 /app/uploads | |
| RUN mkdir -p /nltk_data && chmod -R 777 /nltk_data | |
| RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache |