Skip to content

Commit

Permalink
fix: Docker build on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Nov 1, 2024
1 parent 723f072 commit 0c43d9d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:20 AS builder

RUN npm i -g npm

WORKDIR /app

COPY package.json package-lock.json ./
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,10 @@
"qrcode": "^1.5.4",
"solid-icons": "^1.1.0",
"solid-js": "^1.8.21"
},
"overrides": {
"vite": {
"rollup": "npm:@rollup/wasm-node"
}
}
}

0 comments on commit 0c43d9d

Please sign in to comment.