mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
fix: Fix dependencies installation for multi-arch images
This commit is contained in:
parent
7bd870f993
commit
6ffe11c323
1 changed files with 7 additions and 2 deletions
|
@ -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 .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue