Skip to content

Commit

Permalink
Pin Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Sep 16, 2024
1 parent f2af967 commit 6150433
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile.mire
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6150433

Please sign in to comment.