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:
@@ -1,4 +1,4 @@
|
|||||||
FROM node:lts-alpine3.20 as builder
|
FROM node:18-alpine3.19 as builder
|
||||||
|
|
||||||
USER node
|
USER node
|
||||||
RUN mkdir -p /home/node/app
|
RUN mkdir -p /home/node/app
|
||||||
@@ -16,7 +16,7 @@ RUN yarn --production --frozen-lockfile
|
|||||||
RUN yarn cache clean
|
RUN yarn cache clean
|
||||||
|
|
||||||
|
|
||||||
FROM node:lts-alpine3.20 as final
|
FROM node:18-alpine3.19 as final
|
||||||
|
|
||||||
USER node
|
USER node
|
||||||
RUN mkdir -p /home/node/app
|
RUN mkdir -p /home/node/app
|
||||||
|
|||||||
@@ -58,6 +58,9 @@ yarn start
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
|
Docker image was downgraded in v1.1.0 to node v18 to be able to support arm/v7 and arm/v6 too.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run \
|
docker run \
|
||||||
-p 8008:8008 \
|
-p 8008:8008 \
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gotify-to-ntfy-proxy",
|
"name": "gotify-to-ntfy-proxy",
|
||||||
"version": "1.0.0",
|
"version": "1.1.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node index.js",
|
"start": "node index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user