Reduce runtime Docker image size
All checks were successful
Release Dry Run / release-dry-run (push) Successful in 1m55s
Template Compliance / compliance (push) Successful in 9s
Build / build (push) Successful in 15m7s
Security Scan / scan (push) Successful in 1m2s
Repository Cleanup Report / report (push) Successful in 5s
Dependency Check / dependencies (push) Successful in 1m1s
All checks were successful
Release Dry Run / release-dry-run (push) Successful in 1m55s
Template Compliance / compliance (push) Successful in 9s
Build / build (push) Successful in 15m7s
Security Scan / scan (push) Successful in 1m2s
Repository Cleanup Report / report (push) Successful in 5s
Dependency Check / dependencies (push) Successful in 1m1s
This commit is contained in:
@@ -12,7 +12,7 @@ ARG DATABASE_URL="postgresql://watchlink:watchlink@localhost:5432/watchlink?sche
|
||||
ENV DATABASE_URL=$DATABASE_URL
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
RUN npx prisma generate && npm run build
|
||||
RUN npx prisma generate && npm run build && npm prune --omit=dev
|
||||
|
||||
FROM node:22-bookworm-slim AS runner
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user