FROM python:3.10 WORKDIR /app COPY ./requirements.txt /app/requirements.txt RUN pip install --no-cache-dir --upgrade -r requirements.txt && \ wget https://huggingface.co/MaziyarPanahi/solar-pro-preview-instruct-GGUF/resolve/main/solar-pro-preview-instruct.Q4_K_M.gguf -O model.gguf && \ useradd -m -u 1000 user USER user COPY --chown=user . . CMD ["python", "app.py"]