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
|
ENV DATABASE_URL=$DATABASE_URL
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY . .
|
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
|
FROM node:22-bookworm-slim AS runner
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
"lucide-react": "^0.468.0",
|
"lucide-react": "^0.468.0",
|
||||||
"next": "^15.1.0",
|
"next": "^15.1.0",
|
||||||
"next-auth": "^5.0.0-beta.25",
|
"next-auth": "^5.0.0-beta.25",
|
||||||
|
"prisma": "^6.1.0",
|
||||||
"react": "^19.0.0",
|
"react": "^19.0.0",
|
||||||
"react-dom": "^19.0.0",
|
"react-dom": "^19.0.0",
|
||||||
"socket.io": "^4.8.1",
|
"socket.io": "^4.8.1",
|
||||||
@@ -37,7 +38,6 @@
|
|||||||
"@types/react-dom": "^19.0.2",
|
"@types/react-dom": "^19.0.2",
|
||||||
"eslint": "^9.17.0",
|
"eslint": "^9.17.0",
|
||||||
"eslint-config-next": "^15.1.0",
|
"eslint-config-next": "^15.1.0",
|
||||||
"prisma": "^6.1.0",
|
|
||||||
"typescript": "^5.7.2",
|
"typescript": "^5.7.2",
|
||||||
"vitest": "^2.1.8"
|
"vitest": "^2.1.8"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user