From ee2e15b5135fb47e7573ea549f23c3d7dd583c0b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 7 Dec 2024 20:58:33 +0100 Subject: [PATCH] chore: use alpine instead of debian (#206) Close #126 Follow-up of #125 Reviewed-on: https://git.mylloon.fr/ConfrerieDuKassoulait/Botanique/pulls/206 Co-authored-by: Mylloon Co-committed-by: Mylloon --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2bd7ad2..a8fbdf9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,11 @@ # syntax=docker/dockerfile:1 -FROM node:22.9-bullseye-slim +FROM node:22.3-alpine3.19 ENV DOCKERIZED=1 RUN mkdir /config && \ chown node:node /config && \ - apt-get update && \ - apt-get install -y dumb-init ffmpeg && \ - rm -rf /var/lib/apt/lists/* + apk add dumb-init ffmpeg WORKDIR /app COPY --chown=node:node . .