fix runtime image and pin ndk dependency

This commit is contained in:
adorjano 2026-05-03 16:26:47 +02:00
parent f4fd7403cc
commit 375a7ee747
2 changed files with 5 additions and 5 deletions

View File

@ -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 .

View File

@ -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",