From cf36167fab695577820d875b8988fffcf6256115 Mon Sep 17 00:00:00 2001 From: Chris Scott Date: Wed, 3 Dec 2025 09:43:32 -0800 Subject: [PATCH] fix(docker): Move bun to /opt for non-root user access --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d452d453..c3a3f37b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,9 @@ RUN apt-get update && apt-get install -y \ RUN corepack enable && corepack prepare pnpm@9.15.0 --activate RUN curl -fsSL https://bun.sh/install | bash && \ - ln -s $HOME/.bun/bin/bun /usr/local/bin/bun + mv /root/.bun /opt/bun && \ + chmod -R 755 /opt/bun && \ + ln -s /opt/bun/bin/bun /usr/local/bin/bun WORKDIR /app