fix: install python3/make/g++ for native npm package builds

This commit is contained in:
Ashwin Kumar 2026-04-09 03:20:26 +02:00
parent cc30b8d118
commit 4103dd6468

View file

@ -4,6 +4,12 @@ WORKDIR /app
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
ENV CYPRESS_INSTALL_BINARY=0
RUN apt-get update && apt-get install -y \
python3 \
make \
g++ \
&& rm -rf /var/lib/apt/lists/*
COPY package*.json ./
RUN npm install --legacy-peer-deps