Skip to content

Commit

Permalink
Bump node from 16.19.0-bullseye-slim to 20.6.0-bullseye-slim
Browse files Browse the repository at this point in the history
Bumps node from 16.19.0-bullseye-slim to 20.6.0-bullseye-slim.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Sep 7, 2023
1 parent a8ac31e commit 74d68fa
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
Expand Up @@ -2,7 +2,7 @@
# Used best practices from https://snyk.io/blog/10-best-practices-to-containerize-nodejs-web-applications-with-docker/

# --------------> The build image
FROM node:16.19.0-bullseye-slim as build
FROM node:20.6.0-bullseye-slim as build

RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends git dumb-init

Expand All @@ -23,7 +23,7 @@ COPY . /usr/src/app
RUN yarn create-version-file

# --------------> The production image
FROM node:16.19.0-bullseye-slim
FROM node:20.6.0-bullseye-slim

ENV NODE_ENV=production
COPY --from=build /usr/bin/dumb-init /usr/bin/dumb-init
Expand Down

0 comments on commit 74d68fa

Please sign in to comment.