Skip to content

Commit

Permalink
fix: literally fixing NPM (#112)
Browse files Browse the repository at this point in the history
* fix: Dockerfile

* fix: literally fixing NPM npm/cli#4828
  • Loading branch information
peaklabs-dev authored Dec 23, 2024
1 parent 2cc12f2 commit 28592aa
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM node:lts-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
RUN npm install --platform=linux --arch=arm64

COPY . .
RUN npm install --platform=linux --arch=arm64

Expand Down
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,13 @@
"starlight-image-zoom": "^0.8.0",
"starlight-links-validator": "^0.12.3",
"starlight-openapi": "^0.8.1"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.9.5",
"@rollup/rollup-linux-x64-musl": "4.9.5",
"@rollup/rollup-linux-arm64-gnu": "4.9.5",
"@rollup/rollup-linux-arm64-musl": "4.9.5",
"@rollup/rollup-darwin-x64": "4.9.5",
"@rollup/rollup-darwin-arm64": "4.9.5"
}
}
}

0 comments on commit 28592aa

Please sign in to comment.