Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files1 unmodified line2345678910111213121415161718161920211 unmodified line
WORKDIR /app
# Install system toolsRUN apt-get update && apt-get install -y \ build-essential \ curl \ && rm -rf /var/lib/apt/lists/*
# Install Python requirementsRUN pip install --no-cache-dir fastapi uvicorn llama-cpp-python
# Direct download link for the model you found# Download MPT-7B Q2 from your specific linkRUN curl -L "https://huggingface.co/maddes8cht/mosaicml-mpt-7b-chat-gguf/resolve/main/mosaicml-mpt-7b-chat-Q2_K.gguf?download=true" -o mpt-7b-q2.gguf
# Only copy the backend codeCOPY app.py .COPY index.html .
EXPOSE 7860
Dockerfile+4-2