Skip to content

Commit

Permalink
Updatde Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Shachindra authored Aug 19, 2024
1 parent 24bff75 commit 1edfd52
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,5 +1,5 @@
# Install dependencies only when needed
FROM node:16-alpine AS deps
FROM node:18-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
Expand Down Expand Up @@ -53,4 +53,4 @@ EXPOSE 3000

ENV PORT 3000

CMD ["node", "server.js"]
CMD ["node", "server.js"]

0 comments on commit 1edfd52

Please sign in to comment.