From 375a7ee747d661bdde3925a6a69d084d3c52d03d Mon Sep 17 00:00:00 2001 From: adorjano Date: Sun, 3 May 2026 16:26:47 +0200 Subject: [PATCH] fix runtime image and pin ndk dependency --- Dockerfile | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1eb99be..b231c22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,13 +14,13 @@ RUN npx prisma generate RUN npm run build # Runtime stage -FROM node:20.11-alpine as runtime +FROM node:20.11-bullseye AS runtime WORKDIR /app -RUN apk update && \ - apk add --no-cache openssl && \ - rm -rf /var/cache/apk/* +RUN apt-get update && \ + apt-get install -y --no-install-recommends openssl && \ + rm -rf /var/lib/apt/lists/* # Copy built files from the build stage COPY --from=build /app . diff --git a/package.json b/package.json index 4232435..297fd2a 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@fastify/view": "^8.2.0", "@inquirer/password": "^1.1.2", "@inquirer/prompts": "^1.2.3", - "@nostr-dev-kit/ndk": "workspace:*", + "@nostr-dev-kit/ndk": "2.8.1", "@prisma/client": "^5.4.1", "@scure/base": "^1.1.1", "@types/yargs": "^17.0.24",