File size: 280 Bytes
2b1406e
 
 
 
 
3feb284
2b1406e
 
 
1
2
3
4
5
6
7
8
9
FROM python:3.9
RUN useradd -ms /bin/bash myuser
WORKDIR /code
COPY . .
RUN pip install llama-index flask requests chromadb llama-index-embeddings-huggingface-api llama-index-vector-stores-chroma
COPY . /code/.
RUN chown -R myuser:myuser /code
USER myuser
CMD ["python", "app.py"]