changed Dockerfile to build on node:20-bookworm and ship on node:20-alpine,

sadly this drops support for arm/v6
This commit is contained in:
LevantinLynx
2024-06-02 02:38:24 +02:00
parent 62b67376c1
commit d2a608e4b2
2 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM node:18-alpine3.19 as builder FROM node:20-bookworm as builder
USER node USER node
RUN mkdir -p /home/node/app RUN mkdir -p /home/node/app
@@ -15,8 +15,7 @@ ENV NODE_ENV=production
RUN yarn --production --frozen-lockfile RUN yarn --production --frozen-lockfile
RUN yarn cache clean RUN yarn cache clean
FROM node:20-alpine 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

View File

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