Skip to content

Commit

Permalink
update docker images in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastergamer433 committed Dec 10, 2024
1 parent f77efc3 commit b7460c3
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,12 +1,12 @@
# Dependencies
FROM node:19-alpine3.17 AS dependencies
FROM node:20-alpine3.21 AS dependencies

WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install

# Build
FROM node:19-alpine3.17 AS build
FROM node:20-alpine3.21 AS build

WORKDIR /app
COPY --from=dependencies /app/node_modules ./node_modules
Expand All @@ -15,7 +15,7 @@ COPY . .
RUN npx prisma generate && npm run build

# Deploy
FROM node:19-alpine3.17 as deploy
FROM node:20-alpine3.20 as deploy

WORKDIR /app

Expand Down

0 comments on commit b7460c3

Please sign in to comment.