fix: install python3/make/g++ for native npm package builds
This commit is contained in:
parent
cc30b8d118
commit
4103dd6468
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue