llama / Dockerfile
han145's picture
Update Dockerfile
6d9c201 verified
raw
history blame contribute delete
276 Bytes
FROM ghcr.io/abetlen/llama-cpp-python:cpu-latest
RUN pip install --no-cache-dir streamlit huggingface-hub
COPY app.py /app/app.py
WORKDIR /app
RUN mkdir -p /data/models && chmod -R 777 /data
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]