Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sections/examples/dockerfile/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# In the second stage, we start fresh and only copy necessary files. We also purge node_modules devDependencies.

#### Build stage ####
FROM node:14.8.0-alpine AS build
FROM node:14.19-alpine AS build

# Install system build dependencies (if needed) at the top ✅ See bullet point #8.8 about caching
RUN apk add --update --no-cache bash make gcc g++ lcms2-dev libpng-dev autoconf automake
Expand All @@ -22,7 +22,7 @@ RUN npm run build

#### Run-time stage ####
# ✅ See bullet point #8.10 about smaller docker base images
FROM node:14.8.0-alpine as app
FROM node:14.19-alpine as app

# Set non-root user and expose port 3000
USER node
Expand Down