Skip to content

feat: Add ARM64 architecture support to Dockerfile#5

Open
mgaldamez wants to merge 1 commit intoEvanTrow:mainfrom
mgaldamez:feat/add-arm64-support
Open

feat: Add ARM64 architecture support to Dockerfile#5
mgaldamez wants to merge 1 commit intoEvanTrow:mainfrom
mgaldamez:feat/add-arm64-support

Conversation

@mgaldamez
Copy link

Description

This PR updates the Dockerfile to include the necessary build dependencies (python3, make, g++) required for compiling native Node.js modules on ARM64 architectures.

Without these dependencies, npm install fails on the Alpine Linux base image when running on ARM64 because node-gyp cannot compile the native bindings without a build toolchain.

Changes

  • Added python3, make, and g++ to the apk add command in the Dockerfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant