no idea why npm prune --production suddenly not working, switch to npm ci --production

pull/643/head
Louis 3 years ago
parent 8958c21736
commit cee225bcb2

@ -6,7 +6,7 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
COPY . .
RUN npm ci && \
npm run build && \
npm prune --production && \
npm ci --production && \
chmod +x /app/extra/entrypoint.sh

@ -6,7 +6,7 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
COPY . .
RUN npm ci && \
npm run build && \
npm prune --production && \
npm ci --production && \
chmod +x /app/extra/entrypoint.sh

Loading…
Cancel
Save