Skip to content

Commit 6a71a82

Browse files
committed
Give bun user permissions to run global binaries
1 parent fc7481f commit 6a71a82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ WORKDIR /usr/src/app
55

66
# Install global packages
77
ENV BUN_INSTALL_GLOBAL=/usr/local/bin
8-
RUN bun install -g tsx typescript
8+
RUN bun install -g tsx typescript && \
9+
chmod -R 755 /usr/local/bin
910

1011
# Install dependencies
1112
COPY package.json bun.lock ./

0 commit comments

Comments
 (0)