fix(docker): Move bun to /opt for non-root user access

This commit is contained in:
Chris Scott committed 2025-12-03 09:43:32 -08:00
1 parent d6cdf308ec
commit cf36167fab
1 file changed
+3 -1
+3 -1
View File
@@ -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