1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

fix: Fix dependencies installation

This commit is contained in:
Maksim Eltyshev 2022-05-21 23:52:12 +05:00
parent c532fd1771
commit fee023a721
2 changed files with 3 additions and 8 deletions

View file

@ -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 .

View file

@ -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}