ARG baseimage=debian:testing FROM ${baseimage} AS baseimage ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8 ENV TZ="Europe/Berlin" ARG DEBIAN_FRONTEND=noninteractive # Build arguments ARG ARG_UID=1000 ARG ARG_GID=1000 RUN <>/root/.bashrc echo 'export LLAMA_THREADS=12' >> ~/.bashrc echo 'export DISPLAY=:99' >> ~/.bashrc echo 'alias lms="~/.lmstudio/bin/lms"' >> ~/.bashrc eot ######################### FROM baseimage AS final ADD https://lmstudio.ai/download/latest/linux/x64 /data/lms/LMStudio.AppImage ADD ./http-server-config.json /http-server-config.json RUN <