Skip to content

Commit fdab5e4

Browse files
committed
chore: Update package dependencies
1 parent 6e7768a commit fdab5e4

5 files changed

Lines changed: 37 additions & 26 deletions

File tree

.github/workflows/security.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
severity: CRITICAL,HIGH
7878
exit-code: "1"
7979
scanners: vuln
80-
ignore-unfixed: true
80+
ignore-unfixed: false
8181

8282
- name: Upload Trivy filesystem scan results
8383
if: success()
@@ -106,6 +106,7 @@ jobs:
106106
severity: CRITICAL,HIGH
107107
exit-code: "1"
108108
scanners: vuln
109+
ignore-unfixed: false
109110

110111
- name: Upload Trivy backend image scan results
111112
if: success()
@@ -133,8 +134,8 @@ jobs:
133134
output: trivy-frontend-image.sarif
134135
severity: CRITICAL,HIGH
135136
exit-code: "1"
136-
ignore-unfixed: true
137137
scanners: vuln
138+
ignore-unfixed: false
138139

139140
- name: Upload Trivy frontend image scan results
140141
if: success()

docker/Dockerfile.backend

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ FROM node:25-alpine
3131

3232
WORKDIR /workspace
3333

34-
# Install runtime dependencies
35-
RUN apk add --no-cache openssl wget && \
34+
# Apply latest security patches, then runtime dependencies
35+
RUN apk upgrade --no-cache && apk add --no-cache openssl wget && \
3636
npm install -g npm@latest pnpm@10
3737

3838
# Copy workspace configuration

docker/Dockerfile.frontend

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ RUN cd frontend && pnpm run build
2424
# Production stage - using minimal nginx
2525
FROM nginx:1.29.8-alpine
2626

27+
# Apply latest security patches from Alpine repos (Trivy: e.g. libpng/zlib)
28+
USER root
29+
RUN apk upgrade --no-cache
30+
2731
# Create non-root user for nginx (or use existing nginx user)
2832
# nginx:alpine already has nginx user/group, so we'll just use it
2933
# The default nginx user has UID 101 and GID 101

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
"pnpm": {
2828
"overrides": {
2929
"defu": ">=6.1.5",
30-
"picomatch": ">=4.0.4"
30+
"picomatch": ">=4.0.4",
31+
"hono": ">=4.12.14",
32+
"@hono/node-server": ">=1.19.13",
33+
"postcss": ">=8.5.10"
3134
},
3235
"onlyBuiltDependencies": [
3336
"@prisma/client",

pnpm-lock.yaml

Lines changed: 24 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)