fix: add Python setuptools and build tools for better-sqlite3 compilation
- Add python3, py3-setuptools, make, g++ to Alpine base image - Required for better-sqlite3 native module compilation in Docker build - Fixes 'ModuleNotFoundError: No module named distutils' error
This commit is contained in:
parent
aa1ad315ef
commit
a216a3d343
|
|
@ -1,6 +1,9 @@
|
|||
# Multi-stage build for Soroban Abacus Flashcards
|
||||
FROM node:18-alpine AS base
|
||||
|
||||
# Install Python and build tools for better-sqlite3
|
||||
RUN apk add --no-cache python3 py3-setuptools make g++
|
||||
|
||||
# Install pnpm and turbo
|
||||
RUN npm install -g pnpm@8.0.0 turbo@1.10.0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue