diff --git a/docker/Dockerfile.mire b/docker/Dockerfile.mire index 583cc95..034060b 100644 --- a/docker/Dockerfile.mire +++ b/docker/Dockerfile.mire @@ -1,5 +1,5 @@ # Canvas builder stage -FROM node:20-alpine AS canvas +FROM node:20.17.0-alpine@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 AS canvas # Install build dependencies for node-canvas RUN apk add --no-cache build-base cairo-dev pango-dev jpeg-dev giflib-dev librsvg-dev @@ -15,7 +15,7 @@ RUN npm install canvas@next # Main build stage -FROM node:20-alpine AS builder +FROM node:20.17.0-alpine@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 AS builder # Set working directory WORKDIR /app @@ -34,7 +34,7 @@ COPY . . RUN npm run build # Production stage -FROM node:20-alpine AS production +FROM node:20.17.0-alpine@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 AS production # Set working directory WORKDIR /app