build: pin the Node builder and allow an operator image override
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
FROM node:22-bookworm-slim AS web-build
|
ARG NODE_IMAGE=node:22.23.3-bookworm-slim
|
||||||
|
FROM ${NODE_IMAGE} AS web-build
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY frontend/package*.json ./frontend/
|
COPY frontend/package*.json ./frontend/
|
||||||
RUN npm --prefix frontend ci --no-audit --no-fund
|
RUN npm --prefix frontend ci --no-audit --no-fund
|
||||||
|
|||||||
Reference in New Issue
Block a user