1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00

fix: Fix dependencies installation for multi-arch images

This commit is contained in:
Maksim Eltyshev 2022-05-21 21:01:43 +05:00
parent 81052e1ce6
commit ede707ed24

View file

@ -16,8 +16,13 @@ WORKDIR /app
COPY server/.npmrc server/package.json server/package-lock.json ./ COPY server/.npmrc server/package.json server/package-lock.json ./
RUN npm install npm@latest --global \ RUN apk add \
&& npm install --production g++ make python3 \
--virtual node-pre-gyp-dependencies \
--no-cache \
&& npm install npm@latest --global \
&& npm install --production \
&& apk del node-pre-gyp-dependencies --purge
COPY docker-start.sh start.sh COPY docker-start.sh start.sh
COPY server . COPY server .