Downloading lmstudio on build

This commit is contained in:
2025-12-04 11:56:15 +01:00
parent 90fd9cdfad
commit f0035f0c26

View File

@@ -33,6 +33,8 @@ eot
RUN <<eot RUN <<eot
echo 'export PATH="${PATH}:/root/.local/bin"' >>/root/.bashrc 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 echo 'alias lms="~/.lmstudio/bin/lms"' >> ~/.bashrc
eot eot
@@ -41,7 +43,7 @@ eot
FROM baseimage AS final 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 ADD ./http-server-config.json /http-server-config.json
RUN <<eot RUN <<eot