Server: use node:18 (bookworm) instead node:18-bullseye (#11554)

pull/11602/head^2
Maxim Medvedev 2025-01-09 16:25:56 +01:00 committed by GitHub
parent 98fce34fe9
commit d817ddd5c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@
# Build stage
# =============================================================================
FROM node:18-bullseye AS builder
FROM node:18 AS builder
RUN apt-get update \
&& apt-get install -y \
python tini \
python3 tini \
&& rm -rf /var/lib/apt/lists/*
# Enables Yarn
@ -56,7 +56,7 @@ RUN BUILD_SEQUENCIAL=1 yarn install --inline-builds \
# from a smaller base image.
# =============================================================================
FROM node:18-bullseye-slim
FROM node:18-slim
ARG user=joplin
RUN useradd --create-home --shell /bin/bash $user