mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-10 06:43:36 +08:00
no idea why npm prune --production suddenly not working, switch to npm ci --production
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user