Skip to content

Commit 29f34c2

Browse files
committed
Fix Dockerfile permissions by setting ownership to bun user
1 parent 4b2f470 commit 29f34c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ WORKDIR /app
1111
COPY --from=base /app/.next/standalone/app ./
1212
COPY --from=base /app/public ./public
1313
COPY --from=base /app/.next/static ./.next/static
14+
RUN chown -R bun:bun /app
15+
USER bun
1416
EXPOSE 3000
1517
CMD [ "bun","--bun","server.js" ]

0 commit comments

Comments
 (0)