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 Nov 20, 2024
1 parent f2af967 commit 6a0044e
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.18.1-alpine@sha256:b5b9467fe7b33aad47f1ec3f6e0646a658f85f05c18d4243024212a91f3b7554 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.18.1-alpine@sha256:b5b9467fe7b33aad47f1ec3f6e0646a658f85f05c18d4243024212a91f3b7554 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.18.1-alpine@sha256:b5b9467fe7b33aad47f1ec3f6e0646a658f85f05c18d4243024212a91f3b7554 AS production

# Set working directory
WORKDIR /app
Expand Down

0 comments on commit 6a0044e

Please sign in to comment.