From 2544775266998fdd9d9f60cc036a2dd14e509491 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sun, 14 Dec 2025 13:16:40 +0000 Subject: [PATCH] fix: switch to node slim image --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 02a35ffc..1f3b57df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-alpine AS base +FROM node:22-slim AS base LABEL org.opencontainers.image.source="https://github.com/docmost/docmost" FROM base AS builder @@ -13,7 +13,9 @@ RUN pnpm build FROM base AS installer -RUN apk add --no-cache curl bash +RUN apt-get update \ + && apt-get install -y --no-install-recommends curl bash \ + && rm -rf /var/lib/apt/lists/* WORKDIR /app