diff --git a/Dockerfile b/Dockerfile index a483139..53b5354 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,10 @@ FROM node:18 as base USER node WORKDIR /app COPY --chown=node:node package*.json tsconfig*.json ./ + +# Fix arm64 timeouts +RUN npm config set timeout 300000 + RUN npm install COPY --chown=node:node . . ENV NODE_ENV production diff --git a/package-lock.json b/package-lock.json index f47c5a7..793aedf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8629,9 +8629,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual",