Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files1 unmodified line23456789101112131415161718191 unmodified lineWORKDIR /appRUN apt-get update && apt-get install -y \build-essential \curl \&& rm -rf /var/lib/apt/lists/*RUN pip install --no-cache-dir fastapi uvicorn llama-cpp-python# Direct download link for the model you foundRUN 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.ggufCOPY app.py .COPY index.html .EXPOSE 78601 unmodified line234567891011121314151617181920211 unmodified lineWORKDIR /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# 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 .EXPOSE 7860
Dockerfile+4-2