Skip to content

Commit c59bbf2

Browse files
committed
refactor(api): update Dockerfile to clarify sharp dependency handling
1 parent 7b9ff6d commit c59bbf2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/api/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ RUN apk add --no-cache openssl curl libstdc++ libgcc
4141

4242
COPY --from=build /app/server ./server
4343
COPY --from=build /app/apps/api/prisma ./prisma
44-
COPY --from=build /native/node_modules ./node_modules
44+
45+
# The bun binary resolves --external sharp from the real filesystem root.
46+
COPY --from=build /native/node_modules /node_modules
4547

4648
RUN mkdir -p uploads
4749

0 commit comments

Comments
 (0)