Skip to content

Commit

Permalink
new node version in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
danielguirra committed Mar 27, 2024
1 parent 25200f3 commit e4aedc5
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
Expand Up @@ -2,7 +2,7 @@
# BUILD FOR LOCAL DEVELOPMENT
###################

FROM node:19.7.0-slim As development
FROM node:20-slim As development

WORKDIR /usr/src/app

Expand All @@ -18,7 +18,7 @@ USER node
# BUILD FOR PRODUCTION
###################

FROM node:19.7.0-slim As build
FROM node:20-slim As build

WORKDIR /usr/src/app

Expand All @@ -41,7 +41,7 @@ USER node
## PRODUCTION
##################

FROM node:19.7.0-slim As production
FROM node:20-slim As production

COPY --chown=node:node --from=build /usr/src/app/node_modules ./node_modules
COPY --chown=node:node --from=build /usr/src/app/dist ./dist
Expand Down

0 comments on commit e4aedc5

Please sign in to comment.