Skip to content

Commit bebc09c

Browse files
fix: use node:16-bullseye-slim to fix apt repos and canvas compat
node:16-slim defaults to Debian Buster (EOL), breaking apt-get. node:20-slim breaks canvas@2.8.0 (no pre-built binary for Node 20). node:16-bullseye-slim: active Bullseye apt repos + Node 16 ABI that canvas@2.8.0 was built for. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b6515d1 commit bebc09c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# syntax = docker/dockerfile:1
22

33
# Adjust NODE_VERSION as desired
4-
ARG NODE_VERSION=20
5-
FROM node:${NODE_VERSION}-slim AS base
4+
ARG NODE_VERSION=16
5+
FROM node:${NODE_VERSION}-bullseye-slim AS base
66

77
LABEL fly_launch_runtime="Node.js"
88

0 commit comments

Comments
 (0)