Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ RUN mkdir -p /opt/pnpm \
&& ln -sf /opt/pnpm/bin/pnpx.cjs /usr/local/bin/pnpx \
&& rm /tmp/pnpm.tgz
COPY frontend/package.json frontend/pnpm-lock.yaml frontend/pnpm-workspace.yaml frontend/.pnpmfile.cjs ./
COPY frontend/patches ./patches
RUN pnpm install --frozen-lockfile
COPY frontend ./
ENV NEXT_TELEMETRY_DISABLED=1
Expand Down
1 change: 1 addition & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
&& rm /tmp/pnpm.tgz

COPY frontend/package.json frontend/pnpm-lock.yaml frontend/pnpm-workspace.yaml frontend/.pnpmfile.cjs ./
COPY frontend/patches ./patches
RUN pnpm install --frozen-lockfile

COPY frontend ./
Expand All @@ -68,4 +69,4 @@
CMD node -e "fetch('http://127.0.0.1:' + (process.env.PORT || '3000')).then((response) => { if (!response.ok) process.exit(1); }).catch(() => process.exit(1))"

# Render injects $PORT at runtime
CMD sh -c "exec ./node_modules/.bin/next start --hostname 0.0.0.0 --port ${PORT:-3000}"

Check warning on line 72 in frontend/Dockerfile

View workflow job for this annotation

GitHub Actions / validate frontend image

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
12 changes: 7 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^1.24.0",
"next": "16.2.10",
"next": "16.2.11",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-resizable-panels": "^4.12.0",
Expand All @@ -39,20 +39,22 @@
"@types/react-dom": "^19",
"@vitest/coverage-v8": "4.1.10",
"eslint": "^9",
"eslint-config-next": "16.2.10",
"eslint-config-next": "16.2.11",
"fast-check": "^4.9.0",
"jsdom": "^29.1.0",
"postcss": "^8.5.16",
"postcss": "8.5.18",
"typescript": "^6",
"vitest": "^4.1.10"
},
"overrides": {
"postcss": "^8.5.16",
"brace-expansion": "5.0.8",
"postcss": "8.5.18",
"undici": "7.28.0",
"uuid": "^14.0.0"
},
"resolutions": {
"postcss": "^8.5.16",
"brace-expansion": "5.0.8",
"postcss": "8.5.18",
"undici": "7.28.0"
}
}
7 changes: 7 additions & 0 deletions frontend/patches/minimatch@3.1.5.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
diff --git a/minimatch.js b/minimatch.js
--- a/minimatch.js
+++ b/minimatch.js
@@ -10 +10,2 @@ var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
-var expand = require('brace-expansion')
+var braceExpansion = require('brace-expansion')
+var expand = braceExpansion.expand || braceExpansion
Loading
Loading