FROM python:3.11-slim RUN useradd -ms /bin/bash myuser WORKDIR /code COPY . . RUN pip install flask llama-index-embeddings-huggingface g4f[all] RUN chown -R myuser:myuser /code USER myuser CMD ["python","app.py"]