Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docker/backend.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ COPY --chown=nestjs:nodejs --from=builder /app/packages/backend/assets ./package
# Copy one-off maintenance scripts (run via `yarn <script>` from Cloud Run Jobs).
COPY --chown=nestjs:nodejs --from=builder /app/packages/backend/scripts ./packages/backend/scripts

# Maintenance scripts (tsx) import the generated Prisma client by source path.
# The webpack-bundled backend already has it inlined in dist/main.js, but
# tsx runs the TS files directly and needs the original generated folder.
COPY --chown=nestjs:nodejs --from=builder /app/packages/backend/src/generated ./packages/backend/src/generated

USER nestjs

WORKDIR /app/packages/backend
Expand Down
Loading