From a09e4c99c7553f2c22fbcdc84f2825eb448d9e11 Mon Sep 17 00:00:00 2001 From: ComasSky <48486646+comassky@users.noreply.github.com> Date: Wed, 22 Jun 2022 11:42:37 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 93879a0b..4a5f7833 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ # # # # -FROM docker.io/library/node:alpine AS build_node_modules +FROM docker.io/library/node:18.4.0-alpine@sha256:a27df330224bb16312064cc8653793d7438129c8ec6699ae523eb5baaa7f5fb4 AS build_node_modules # Copy Web UI COPY src/ /app/ @@ -18,7 +18,7 @@ RUN npm ci --production # Copy build result to a new image. # This saves a lot of disk space. -FROM docker.io/library/node:alpine +FROM docker.io/library/node:18.4.0-alpine@sha256:a27df330224bb16312064cc8653793d7438129c8ec6699ae523eb5baaa7f5fb4 COPY --from=build_node_modules /app /app # Move node_modules one directory up, so during development