Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files5 unmodified lines6789101191011121314151 unmodified line1718191920215 unmodified lines# 1. Install wgetRUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
# 2. Download using wget (Force following redirects and set the output name)# This will take 5-10 minutes. It won't show a progress bar in some logs, but it is working!RUN wget -O mpt-7b-q2.gguf "https://huggingface.co/maddes8cht/mosaicml-mpt-7b-chat-gguf/resolve/main/mosaicml-mpt-7b-chat-Q2_K.gguf?download=true"# 2. Download using wget with 'quiet' mode + progress bar # This prevents the 2MB log limit errorRUN wget --progress=dot:giga -O mpt-7b-q2.gguf \ "https://huggingface.co/maddes8cht/mosaicml-mpt-7b-chat-gguf/resolve/main/mosaicml-mpt-7b-chat-Q2_K.gguf?download=true"
# 3. Copy your app codeCOPY app.py .1 unmodified lineENV PORT=7860EXPOSE 7860
# Use the python3.13 specifically to match the image's internal library# Use python3.13 to match the image's internal libraryCMD ["python3", "app.py"]Dockerfile+5-4