mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-07 12:13:51 +00:00
no idea why npm prune --production suddenly not working, switch to npm ci --production
This commit is contained in:
parent
8958c21736
commit
cee225bcb2
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm ci && \
|
RUN npm ci && \
|
||||||
npm run build && \
|
npm run build && \
|
||||||
npm prune --production && \
|
npm ci --production && \
|
||||||
chmod +x /app/extra/entrypoint.sh
|
chmod +x /app/extra/entrypoint.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm ci && \
|
RUN npm ci && \
|
||||||
npm run build && \
|
npm run build && \
|
||||||
npm prune --production && \
|
npm ci --production && \
|
||||||
chmod +x /app/extra/entrypoint.sh
|
chmod +x /app/extra/entrypoint.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue