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 RUN unzip -q images.zip -d images COPY . /code/. RUN chown -R myuser:myuser /code USER myuser CMD ["python", "app.py"]