adding more threads

This commit is contained in:
2025-11-10 12:12:27 +01:00
parent 7347fd6eab
commit 294de0fedd
4 changed files with 53 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ spec:
volumeMounts:
- name: lmstudio-data
mountPath: /root/.lmstudio
- name: lmstudio-config
mountPath: "/root/.config/LM Studio"
- name: dev-dri
mountPath: /dev/dri
- name: dev-kfd
@@ -56,6 +58,10 @@ spec:
hostPath:
path: /home/do/.lmstudio
type: Directory
- name: lmstudio-config
hostPath:
path: "/home/do/.config/LM Studio"
type: Directory
- name: dev-dri
hostPath:
path: /dev/dri

33
xfvb-test/Dockerfile Normal file
View File

@@ -0,0 +1,33 @@
ARG baseimage=debian:testing-slim
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 <<eot
set -eux
apt -qy update
apt -qy install --no-install-recommends \
-o APT::Install-Recommends=false \
-o APT::Install-Suggests=false \
console-setup tzdata dbus x11-utils x11-xserver-utils dbus-x11 xvfb x11vnc xterm
mkdir -p /root/.vnc && x11vnc -storepasswd test123 /root/.vnc/passwd
eot
ENV DISPLAY=:60
#########################
FROM baseimage AS final
ADD --chmod=0755 ./docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["/bin/bash", "/usr/local/bin/docker-entrypoint.sh"]

View File

@@ -0,0 +1,13 @@
#!/bin/bash
rm -f /tmp/.X60-lock
mkdir /run/dbus
dbus-daemon --fork --system
Xvfb :60 -screen 0 1920x1080x16 &
sleep 2
# -----------------------------------
x11vnc -display :60 -forever -rfbauth /root/.vnc/passwd -quiet -listen 0.0.0.0 -xkb
/usr/bin/xterm