Skip to content

Commit

Permalink
chore(deps): bump node from 18-alpine to 20-alpine (#937)
Browse files Browse the repository at this point in the history
Bumps node from 18-alpine to 20-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Feb 1, 2024
1 parent 81837ad commit fc068b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
FROM node:18-alpine as build
FROM node:20-alpine as build
WORKDIR /home/node/
COPY . .
RUN npm pkg delete scripts.prepare
RUN npm ci
RUN npm run build

FROM node:18-alpine as cleanup
FROM node:20-alpine as cleanup
WORKDIR /home/node/
COPY --from=build /home/node/package*.json ./
COPY --from=build /home/node/dist ./dist
COPY --from=build /home/node/prisma ./prisma
RUN npm ci --omit=dev

FROM node:18-alpine
FROM node:20-alpine
WORKDIR /home/node/
COPY --from=cleanup /home/node/ ./
USER root
Expand Down

0 comments on commit fc068b4

Please sign in to comment.