Spaces:
Build error
Build error
Ved Gupta commited on
Commit ·
9bda413
1
Parent(s): 3ef7fff
Update Dockerfile: Comment out model download and copy commands, and modify CMD instruction
Browse files1234567895 unmodified lines1516171819FROM quay.io/go-skynet/local-ai:v2.7.0-ffmpeg-coreRUN wget -q "https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.2-GGUF/resolve/main/mistral-7b-instruct-v0.2.Q4_0.gguf" -O models/mistral-7b-instruct-v0.2.Q4_0.ggufRUN wget -q "https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGUF/resolve/main/luna-ai-llama2-uncensored.Q4_0.gguf" -O models/luna-ai-llama2COPY models/* models/RUN useradd -m -u 1000 userUSER user5 unmodified linesWORKDIR $HOMECOPY --chown=user . $HOMECMD ["--models-path", "./models", "--context-size", "700", "--threads", "4"]1234567895 unmodified lines1516171819FROM quay.io/go-skynet/local-ai:v2.7.0-ffmpeg-core# RUN wget -q "https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.2-GGUF/resolve/main/mistral-7b-instruct-v0.2.Q4_0.gguf" -O models/mistral-7b-instruct-v0.2.Q4_0.gguf# RUN wget -q "https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGUF/resolve/main/luna-ai-llama2-uncensored.Q4_0.gguf" -O models/luna-ai-llama2# COPY models/* models/RUN useradd -m -u 1000 userUSER user5 unmodified linesWORKDIR $HOMECOPY --chown=user . $HOME# CMD ["--models-path", "./models", "--context-size", "700", "--threads", "4"]CMD ["phi-2"]
Dockerfile+5-5