fix: add bunx symlink to runtime Docker image
This commit is contained in:
@@ -92,6 +92,7 @@ COPY --from=deps /app/node_modules/ ./node_modules/
|
|||||||
|
|
||||||
# Copy bun so prisma migrate deploy can run at container startup
|
# Copy bun so prisma migrate deploy can run at container startup
|
||||||
COPY --from=build /usr/local/bin/bun /usr/local/bin/bun
|
COPY --from=build /usr/local/bin/bun /usr/local/bin/bun
|
||||||
|
RUN ln -s /usr/local/bin/bun /usr/local/bin/bunx
|
||||||
|
|
||||||
# Ensure pdfmake Roboto fonts are present at runtime for PDF generation.
|
# Ensure pdfmake Roboto fonts are present at runtime for PDF generation.
|
||||||
COPY --from=build /app/api/node_modules/pdfmake/build/fonts/ ./node_modules/pdfmake/build/fonts/
|
COPY --from=build /app/api/node_modules/pdfmake/build/fonts/ ./node_modules/pdfmake/build/fonts/
|
||||||
|
|||||||
Reference in New Issue
Block a user