added support for arm/v7 and arm/v6 for raspberry pi,

downgrade from node v20 lts to v18 (node v20 won't build on arm/v7 or arm/v6)
This commit is contained in:
LevantinLynx
2024-06-01 00:48:18 -10:00
parent fe47d9d357
commit 62b67376c1
3 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
FROM node:lts-alpine3.20 as builder
FROM node:18-alpine3.19 as builder
USER node
RUN mkdir -p /home/node/app
@@ -16,7 +16,7 @@ RUN yarn --production --frozen-lockfile
RUN yarn cache clean
FROM node:lts-alpine3.20 as final
FROM node:18-alpine3.19 as final
USER node
RUN mkdir -p /home/node/app