From 92aa30b6c2e0c611a7a114bf1b0775b969b26ac9 Mon Sep 17 00:00:00 2001 From: Ismar Slomic Date: Fri, 8 Mar 2024 23:58:11 +0100 Subject: [PATCH] fix(node): use node 21.7.0 bookworm image because of issues with never ending docker image build --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 44bdc30..6c03357 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Use offical Node.js image. The image uses Apline Linux -FROM node:21.7.0-alpine +FROM node:21.7.0-bookworm-slim # Build-time metadata as defined at https://github.com/opencontainers/image-spec/blob/master/annotations.md ARG BUILD_DATE @@ -10,7 +10,7 @@ ARG GIT_SHA ENV NODE_ENV production # Install timezone database to allow setting timezone through TZ environment variable -RUN apk add --no-cache tzdata +RUN apt install tzdata LABEL org.opencontainers.image.created=$BUILD_DATE \ org.opencontainers.image.authors="Steven Mayotte" \