mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
fix(docker): Move bun to /opt for non-root user access
This commit is contained in:
1 parent
d6cdf308ec
commit
cf36167fab
1 file changed
+3
-1
+3
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user