diff --git a/Dockerfile b/Dockerfile index 5e18df489..dd5e00459 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax = docker/dockerfile:1.10 -FROM node:18.20.4-slim AS node +FROM node:22.11.0-slim AS node WORKDIR /app COPY --link package.json yarn.lock ./ RUN --mount=type=cache,uid=1000,target=/app/.cache/node_modules \ diff --git a/schemas/Dockerfile b/schemas/Dockerfile index 42ba53d8b..c9ba5d960 100644 --- a/schemas/Dockerfile +++ b/schemas/Dockerfile @@ -4,7 +4,7 @@ COPY ./swagger.yml ./ WORKDIR /mock-server RUN java -jar /opt/swagger-codegen-cli/swagger-codegen-cli.jar generate -l nodejs-server -i /mock-seed/swagger.yml -l nodejs-server -o ./ -FROM node:16.20.2-alpine as mock +FROM node:22.11.0-alpine as mock WORKDIR /mock-server COPY --from=builder /mock-server ./ RUN npm install