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