Modeldeep / Dockerfile
albertoo85's picture
Update Dockerfile
b903245 verified
raw
history blame contribute delete
364 Bytes
FROM ghcr.io/abetlen/llama-cpp-python:latest
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV HOME=/home/user
RUN useradd -m -u 1000 user
WORKDIR $HOME/app
# Solo instalamos Gradio y hf_hub, NO tocamos llama-cpp-python
RUN pip install --no-cache-dir gradio huggingface-hub
COPY --chown=user . $HOME/app/
USER user
EXPOSE 7860
CMD ["python", "app.py"]