Skip to content

Commit

Permalink
fix(webui): node 18 => 22, handle arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
berdal84 committed Apr 30, 2024
1 parent 37ea59b commit ab43a4e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webui/Dockerfile.standalone → webui/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-slim AS base
FROM node:22-slim AS base

# Install dependencies only when needed
FROM base AS deps
Expand Down
2 changes: 1 addition & 1 deletion webui/docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
services:
webui:
build:
platforms: ['linux/arm64', 'linux/amd64']
context: .
dockerfile: Dockerfile.standalone
#
# You can override this at build time
#
Expand Down
3 changes: 3 additions & 0 deletions webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@
"openapi-typescript": "^6.7.5",
"postcss": "^8",
"typescript": "^5"
},
"engines": {
"node": "22"
}
}

0 comments on commit ab43a4e

Please sign in to comment.