diff --git a/Dockerfile b/Dockerfile index 4ae08504..4639c0b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:21 AS BUILD_IMAGE +FROM node:22 AS BUILD_IMAGE RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin WORKDIR /build COPY . . @@ -6,7 +6,7 @@ RUN npm ci && npm run build RUN npm prune --production RUN /usr/local/bin/node-prune -FROM node:21-alpine +FROM node:22-alpine WORKDIR /usr/src/monero-merchang COPY --from=BUILD_IMAGE /build/dist . COPY --from=BUILD_IMAGE /build/node_modules ./node_modules