1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-28 08:48:45 +02:00

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

This commit is contained in:
Louis 2021-10-10 17:55:31 +08:00
parent 8958c21736
commit cee225bcb2
2 changed files with 2 additions and 2 deletions

View File

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

View File

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