Skip to content

Commit

Permalink
a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
solaoi committed Aug 11, 2022
1 parent ad2cedd commit f5cbd98
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM node:18-alpine as builder
WORKDIR /app

# for M1 Mac
RUN apk update && apk add python make gcc g++
# Install Python/pip and dependencies for M1 Mac
ENV PYTHONUNBUFFERED=1
RUN apk add g++ make
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools

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

0 comments on commit f5cbd98

Please sign in to comment.