Roger Hoem-Martinsen and Claude Opus 4.8
413448037c
fix(docker): drop bundled npm from runtime image to clear base-image CVEs
...
The runner stage ships the npm CLI bundled in node:22-alpine, whose
vendored dependencies carry known vulnerabilities that trivy flags on the
published postgresql-latest image:
usr/local/lib/node_modules/npm/node_modules/...
- sigstore 3.1.0 CVE-2026-48815 (HIGH)
- picomatch 4.0.3 CVE-2026-33671 (HIGH)
- @sigstore/core 2.0.0 CVE-2026-48758
- brace-expansion 2.0.2 CVE-2026-33750
- ip-address 10.1.0 CVE-2026-42338
- tar 7.5.11 CVE-2026-53655
npm is only a build-time bootstrap for pnpm; it is not needed at runtime.
Install pnpm with it, then remove npm in the same layer so none of these
vendored packages are present in the final image, and run the container
via pnpm instead of npm. pnpm (and corepack) remain and were never flagged.
The curl/libcurl/c-ares HIGH findings are resolved by rebuilding alone,
since Alpine 3.24 already serves curl 8.21.0-r0 / c-ares 1.34.8-r0 (the
published image is simply stale).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-15 11:30:18 +02:00
Mike Cao
0862518ec7
Align Docker image Prisma version with package.json
2026-06-19 20:49:47 -07:00
Francis Cao
824b3ff966
update playwright as seperate service
2026-05-27 15:35:07 -07:00
Francis Cao
bb31fc7388
implement fix for playwright docker build
2026-05-27 13:46:14 -07:00
Francis Cao
e068471f9c
install heatmaps image
2026-05-27 09:26:24 -07:00
Mike Cao
3815a218ca
Merge branch 'dev' into pnpm-11
2026-05-22 20:16:48 -04:00
Francis Cao
7d687479a9
use deps node_modules in runner image
2026-05-20 11:37:33 -07:00
Francis Cao
9df89b746e
Revert "fix cloud docker runtime dependency install"
...
This reverts commit 6e8660c397 .
2026-05-20 11:23:44 -07:00
Francis Cao
bf06a33c79
Revert "reorder script dependency order"
...
This reverts commit 75a9041fad .
2026-05-20 11:17:39 -07:00
Francis Cao
75a9041fad
reorder script dependency order
2026-05-20 10:46:41 -07:00
Francis Cao
6e8660c397
fix cloud docker runtime dependency install
2026-05-20 10:40:13 -07:00
Francis Cao
850fc192c9
remove pnpm field. deprecated
2026-05-20 10:24:53 -07:00
Francis Cao
d65d6670f7
remove allowed-build config
2026-05-20 10:14:13 -07:00
Francis Cao
4883f1e630
add strictDepBuilds config
2026-05-20 10:11:23 -07:00
Francis Cao
7f907f63e9
resolve docker image failed build
2026-05-20 09:50:55 -07:00
Francis Cao
dc50bae5a1
Fix docker image failed build errors
2026-05-20 09:36:10 -07:00
Maxime-J
65cf5665e7
Support pnpm 11
2026-05-15 11:57:44 +02:00
Mike Cao
7b8403c0cc
Updated nextjs. Changed middleware to proxy.
2026-04-15 18:25:14 -07:00
Mike Cao
f41c0221c4
fix docker prisma migrate and remove stray query log
2026-04-15 14:22:04 -07:00
Mike Cao
fa81b02a33
Fix Docker build: add missing @prisma/client and update Prisma version to 7.3.0
2026-03-23 13:35:21 -07:00
Francis Cao
ee823acf8a
revert docker base build
2026-03-10 09:58:59 -07:00
Francis Cao
31caa0d62e
Revert "BASE_PATH build stage only, added label"
...
This reverts commit 2309f407f2 .
2026-03-05 10:47:52 -08:00
Francis Cao
2309f407f2
BASE_PATH build stage only, added label
2026-03-04 21:30:17 -08:00
Yash
2e10ceee0e
feat: Add BASE_PATH support with -base image variant
2026-01-29 00:15:19 +05:30
Mike Cao
60271779de
Fixed Docker build.
2025-12-03 23:53:22 -08:00
Mike Cao
64767b1896
Updated next. Fixed link RSC fetch.
2025-12-03 15:11:40 -08:00
Maxime-J
46388f8b41
Include prisma engine in Docker image
2025-11-15 15:32:06 +01:00
Mike Cao
79e324aace
Updated Dockerfile to match current Prisma version.
2025-11-03 16:54:58 -08:00
Mike Cao
767b373484
Fixed issue with read replica initialization.
2025-10-06 14:49:36 -07:00
Mike Cao
dbc9525c9c
Fixed docker build.
2025-10-06 02:12:57 -07:00
Mike Cao
3847e32f39
More work on reports. Added Funnel page.
2025-06-05 22:19:35 -07:00
Mike Cao
97381f300a
Fixed wrong Prisma version in Docker.
2025-05-09 17:16:24 -07:00
Mike Cao
340cdce1dc
Dockerfile tweaks.
2025-04-24 19:23:10 -07:00
Mike Cao
5be38adf7a
Switched to pnpm from yarn.
2025-04-23 16:38:52 -07:00
Maxime-J
b88432fcf4
Change Docker handling of custom rewrites
2025-04-21 12:42:36 +02:00
Maxime-J
3b5e1da39e
Replace deprecated Docker config
2025-04-21 08:58:35 +02:00
Maxime-J
b542dc265a
Remove unnecessary Dockerfile steps
2025-04-21 08:55:51 +02:00
Mike Cao
592708eafd
Updated docker node version to 22.
2025-02-08 19:04:52 -08:00
Mike Cao
07330bd930
Upgrade Prisma to v6.1.0.
...
(cherry picked from commit c0fd22cbf6 )
2025-01-18 17:01:14 -08:00
Mike Cao
a02a6c76a6
Revert Prisma 5.17.0.
2025-01-17 15:16:23 -08:00
Mike Cao
662039090e
Downgrade to Prisma 5.22.0
2025-01-16 12:44:25 -08:00
Mike Cao
50f8ff500b
Added NODE_OPTIONS environment variable.
2025-01-15 21:33:40 -08:00
Mike Cao
c0fd22cbf6
Upgrade Prisma to v6.1.0.
2025-01-10 18:58:53 -08:00
Mike Cao
c414c605b4
Revert Prisma changes due to v6 issue.
2025-01-10 16:59:11 -08:00
Mike Cao
6e158be4ac
Removed Prisma fixes from v5.
2025-01-09 21:31:10 -08:00
Mike Cao
d43293da72
Fixed Prisma docker error.
2024-12-12 22:07:20 -08:00
Mike Cao
10239fefcd
Fixed docker build for Prisma.
2024-08-19 15:24:02 -07:00
vndroid
e1cd8eac83
Update Health Check
...
- Node container support healthcheck.
2023-11-27 16:25:53 +08:00
Mike Cao
a106098129
Fix semver.
2023-10-19 19:14:03 -07:00
Mike Cao
4bce72350b
Include HOSTNAME variable.
2023-09-02 16:53:26 -07:00