STAVANAI / Dockerfile
shethjenil's picture
Update Dockerfile
3feb284 verified
raw
history blame
280 Bytes
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"]