From b515f5d6faa7213d2c65b1eec6e7aa0a2d407f94 Mon Sep 17 00:00:00 2001 From: michael1011 Date: Sat, 2 Nov 2024 00:19:02 +0100 Subject: [PATCH] fix: Docker build on arm64 --- .dockerignore | 1 + Dockerfile | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..c2658d7d --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +node_modules/ diff --git a/Dockerfile b/Dockerfile index dc6590f5..e046bef8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM node:20 AS builder +RUN npm i -g npm + WORKDIR /app COPY package.json package-lock.json ./