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
4 changes: 3 additions & 1 deletion .github/workflows/build_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v6
with:
node-version: '18'
# Vite 8 requires ^20.19.0 or >=22.12.0; on Node 18 `npm run build`
# fails, which silently stops dist from being rebuilt.
node-version: '22'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install
Expand Down
4 changes: 3 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM node:18-alpine
# Vite 8 requires Node ^20.19.0 or >=22.12.0; on Node 18 `npm run build` fails,
# which is what breaks the Hugging Face Space build.
FROM node:22-alpine

# Use the existing node user (usually UID 1000)
# Set up environment variables for the node user
Expand Down
Loading