fix: switch to node slim image

This commit is contained in:
Philipinho
2025-12-14 13:16:40 +00:00
parent d59539f197
commit 2544775266
+4 -2
View File
@@ -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" LABEL org.opencontainers.image.source="https://github.com/docmost/docmost"
FROM base AS builder FROM base AS builder
@@ -13,7 +13,9 @@ RUN pnpm build
FROM base AS installer 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 WORKDIR /app