mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 17:23:25 +03:00
fix: Fix dependencies installation for multi-arch images
This commit is contained in:
@@ -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 .
|
||||||
|
|||||||
Reference in New Issue
Block a user