Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin Node.js #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
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
Loading