Skip to content

Commit

Permalink
Update Node.js to v22
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Oct 29, 2024
1 parent 4a67592 commit 92a7a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
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 . .
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
Expand Down

0 comments on commit 92a7a6f

Please sign in to comment.