Skip to content

Commit

Permalink
chore: fix Docker build on arm64 (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 authored Nov 2, 2024
1 parent 723f072 commit daf4c5e
Show file tree
Hide file tree
Showing 5 changed files with 4,069 additions and 3,525 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
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
preset: "solid-jest/preset/browser",
setupFilesAfterEnv: ["<rootDir>/node_modules/@testing-library/jest-dom"],
transformIgnorePatterns: [
"node_modules/(?!@solidjs|solid-icons|boltz-bolt12)",
"node_modules/(?!@solidjs|solid-icons|boltz-bolt12|seroval-plugins)",
],
moduleNameMapper: {
"^.+\\.svg": "<rootDir>/tests/mocks/SvgMock.tsx",
Expand Down
Loading

0 comments on commit daf4c5e

Please sign in to comment.