Skip to content

Commit f5cbd98

Browse files
committed
a little bit
1 parent ad2cedd commit f5cbd98

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
FROM node:18-alpine as builder
22
WORKDIR /app
33

4-
# for M1 Mac
5-
RUN apk update && apk add python make gcc g++
4+
# Install Python/pip and dependencies for M1 Mac
5+
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
610

711
COPY package.json package-lock.json .npmrc ./
812
# overrides field on package.json is not allowd npm ci command...

0 commit comments

Comments
 (0)