Downloading lmstudio on build
This commit is contained in:
@@ -33,6 +33,8 @@ eot
|
||||
|
||||
RUN <<eot
|
||||
echo 'export PATH="${PATH}:/root/.local/bin"' >>/root/.bashrc
|
||||
echo 'export LLAMA_THREADS=12' >> ~/.bashrc
|
||||
echo 'export DISPLAY=:99' >> ~/.bashrc
|
||||
echo 'alias lms="~/.lmstudio/bin/lms"' >> ~/.bashrc
|
||||
eot
|
||||
|
||||
@@ -41,7 +43,7 @@ eot
|
||||
|
||||
FROM baseimage AS final
|
||||
|
||||
ADD ./LM-Studio* /data/lms/
|
||||
ADD https://lmstudio.ai/download/latest/linux/x64 /data/lms/LMStudio.AppImage
|
||||
ADD ./http-server-config.json /http-server-config.json
|
||||
|
||||
RUN <<eot
|
||||
|
||||
Reference in New Issue
Block a user