From 554503c0d37ff537d24b409d20aa56093e5d019c Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Mon, 18 Dec 2023 13:03:50 +0100 Subject: [PATCH] Dockerfile: pull always latest image of specific node version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4483f38..e00866f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # There's an issue with node:20-alpine. # Docker deployment is canceled after 25< minutes. -FROM docker.io/library/node:18-alpine@sha256:b1a0356f7d6b86c958a06949d3db3f7fb27f95f627aa6157cb98bc65c801efa2 AS build_node_modules +FROM docker.io/library/node:18-alpine AS build_node_modules # Hide fund and update-notifier message RUN npm config set -g fund false &&\ @@ -13,7 +13,7 @@ WORKDIR /app RUN npm ci # Copy build result to a new image. # This saves a lot of disk space. -FROM docker.io/library/node:18-alpine@sha256:b1a0356f7d6b86c958a06949d3db3f7fb27f95f627aa6157cb98bc65c801efa2 +FROM docker.io/library/node:18-alpine # Hide fund and update-notifier message RUN npm config set -g fund false &&\