Skip to content

Commit

Permalink
Upgrade Node for security
Browse files Browse the repository at this point in the history
  • Loading branch information
nickserv committed Sep 14, 2023
1 parent d4fbbe4 commit d0b623d
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,4 +1,4 @@
FROM node:16-alpine as build
FROM node:20-alpine as build
WORKDIR /app

COPY package.json package-lock.json ./
Expand All @@ -10,7 +10,7 @@ COPY app ./app
RUN npm run build

# Build the production image with minimal footprint
FROM node:16-alpine
FROM node:20-alpine
WORKDIR /app

ENV NODE_ENV=production
Expand Down

0 comments on commit d0b623d

Please sign in to comment.