From bca8bff586825d8caf81b7a359eaaf3eca65c262 Mon Sep 17 00:00:00 2001 From: sim1222 Date: Mon, 14 Oct 2024 13:49:34 +0900 Subject: [PATCH] update Dockerfile --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81dc72637..435999ae4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.15.1-bullseye AS builder +FROM node:20-bookworm AS builder ARG NODE_ENV=production @@ -6,19 +6,19 @@ WORKDIR /misskey COPY . ./ -RUN apt-get update -RUN apt-get install -y build-essential +RUN apt update +RUN apt install -y build-essential RUN git submodule update --init RUN yarn install RUN yarn build RUN rm -rf .git -FROM node:16.15.1-bullseye-slim AS runner +FROM node:20-bookworm-slim AS runner WORKDIR /misskey -RUN apt-get update -RUN apt-get install -y ffmpeg tini +RUN apt update +RUN apt install -y ffmpeg tini COPY --from=builder /misskey/node_modules ./node_modules COPY --from=builder /misskey/built ./built