1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 12:49: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 7bd870f993
commit 6ffe11c323

View file

@ -16,8 +16,13 @@ WORKDIR /app
COPY server/.npmrc server/package.json server/package-lock.json ./
RUN npm install npm@latest --global \
&& npm install --production
RUN apk add \
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 server .