diff --git a/.woodpecker.yml b/.woodpecker.yml index c74c2d3b..a73d31b9 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,7 +3,7 @@ variables: steps: fetch_git_submodules: - image: node:20-alpine + image: node:22-alpine commands: - apk add git - git submodule init @@ -12,7 +12,7 @@ steps: - event: [pull_request, tag] install: - image: node:20-alpine + image: node:22-alpine commands: - *install_pnpm - pnpm i @@ -20,7 +20,7 @@ steps: - event: pull_request lint: - image: node:20-alpine + image: node:22-alpine commands: - *install_pnpm - pnpm lint @@ -28,7 +28,7 @@ steps: - event: pull_request build_dev: - image: node:20-alpine + image: node:22-alpine commands: - *install_pnpm - pnpm prebuild:dev diff --git a/dev.dockerfile b/dev.dockerfile index 35fef76c..4064476c 100644 --- a/dev.dockerfile +++ b/dev.dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine as builder +FROM node:22-alpine as builder RUN apk update && apk add curl python3 build-base gcc wget git --no-cache RUN corepack enable pnpm @@ -30,7 +30,7 @@ RUN echo "export const BUILD_DATE_ISO8601 = '$(date -u +"%Y-%m-%dT%H:%M:%SZ")';" RUN pnpm i --prefer-offline RUN pnpm build:dev -FROM node:20-alpine as runner +FROM node:22-alpine as runner COPY --from=builder /usr/src/app/dist /app/dist COPY --from=builder /usr/src/app/node_modules /app/node_modules