File size: 490 Bytes
29ab8be
 
 
 
 
 
 
11b6466
39d5ca6
 
e7f82c1
29ab8be
 
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM ghcr.io/danny-avila/librechat-rag-api-dev:latest
ENV DB_PORT=5432
ENV EMBEDDINGS_PROVIDER=huggingface
ENV VECTOR_DB_TYPE=pgvector
RUN apt-get update \
    && apt-get install -y pandoc netcat-openbsd \
    && rm -rf /var/lib/apt/lists/*
RUN curl -o ./requirements.txt https://raw.githubusercontent.com/danny-avila/rag_api/main/requirements.txt
RUN mkdir -p /.cache
RUN chmod -R 777 /.cache
RUN chmod -R 777 ./
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "main.py"]