mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 09:13:23 +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 ./
|
||||
|
||||
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 .
|
||||
|
||||
Reference in New Issue
Block a user