🐳chore(Dockerfile): add additional steps to prevent arm64 build failure

This commit is contained in:
Danny Avila 2024-02-29 10:04:36 -05:00 committed by GitHub
parent ed7d7c2fda
commit 1caa31b035
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,9 @@ WORKDIR /app
# Allow mounting of these files, which have no default # Allow mounting of these files, which have no default
# values. # values.
RUN touch .env RUN touch .env
RUN npm config set fetch-retry-maxtimeout 300000
RUN apk add --no-cache g++ make python3 py3-pip
RUN npm install -g node-gyp
RUN apk --no-cache add curl && \ RUN apk --no-cache add curl && \
npm install npm install