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

View File

@@ -58,6 +58,9 @@ yarn start
```
## Docker
Docker image was downgraded in v1.1.0 to node v18 to be able to support arm/v7 and arm/v6 too.
```bash
docker run \
-p 8008:8008 \

View File

@@ -1,6 +1,6 @@
{
"name": "gotify-to-ntfy-proxy",
"version": "1.0.0",
"version": "1.1.0",
"license": "MIT",
"scripts": {
"start": "node index.js",