From 65c37d89a0b0276dc55dbdeccde8fd699bf15485 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Mon, 15 Jan 2024 02:47:03 +0800 Subject: [PATCH] chore: change docker base image to node:20-bookworm-slim --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a24289..8f9bfc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:lts-alpine +FROM node:20-bookworm-slim WORKDIR /app/tianji @@ -6,10 +6,8 @@ RUN npm install -g pnpm@8.3.1 COPY . . -RUN apk add --update --no-cache python3 g++ make py3-pip - # Push client(only support pure text message) -RUN pip install apprise --break-system-packages +RUN apt update && apt -y install apprise RUN pnpm install --frozen-lockfile