mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-05 04:31:12 -05:00
no idea why npm prune --production suddenly not working, switch to npm ci --production
This commit is contained in:
parent
8958c21736
commit
cee225bcb2
@ -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…
Reference in New Issue
Block a user