mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 12:49:43 +02:00
fix: Fix dependencies installation
This commit is contained in:
parent
c532fd1771
commit
fee023a721
2 changed files with 3 additions and 8 deletions
|
@ -16,13 +16,9 @@ WORKDIR /app
|
|||
|
||||
COPY server/.npmrc server/package.json server/package-lock.json ./
|
||||
|
||||
RUN apk add \
|
||||
g++ make python3 \
|
||||
--virtual node-pre-gyp-dependencies \
|
||||
--no-cache \
|
||||
&& npm install npm@latest --global \
|
||||
RUN npm install npm@latest --global \
|
||||
&& npm install --production \
|
||||
&& apk del node-pre-gyp-dependencies --purge
|
||||
&& apk del vips-dependencies --purge
|
||||
|
||||
COPY docker-start.sh start.sh
|
||||
COPY server .
|
||||
|
|
|
@ -24,5 +24,4 @@ RUN apk -U upgrade \
|
|||
&& ./configure \
|
||||
&& make \
|
||||
&& make install-strip \
|
||||
&& rm -rf /tmp/vips-${VIPS_VERSION} \
|
||||
&& apk del vips-dependencies --purge
|
||||
&& rm -rf /tmp/vips-${VIPS_VERSION}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue