We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2cedd commit f5cbd98Copy full SHA for f5cbd98
Dockerfile
@@ -1,8 +1,12 @@
1
FROM node:18-alpine as builder
2
WORKDIR /app
3
4
-# for M1 Mac
5
-RUN apk update && apk add python make gcc g++
+# Install Python/pip and dependencies for M1 Mac
+ENV PYTHONUNBUFFERED=1
6
+RUN apk add g++ make
7
+RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
8
+RUN python3 -m ensurepip
9
+RUN pip3 install --no-cache --upgrade pip setuptools
10
11
COPY package.json package-lock.json .npmrc ./
12
# overrides field on package.json is not allowd npm ci command...
0 commit comments