mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-18 18:38:07 +00:00
change to npm ci
This commit is contained in:
parent
2625cbe0d2
commit
d3517e76c1
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ FROM louislam/uptime-kuma:base-debian AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm install --legacy-peer-deps && \
|
RUN npm ci && \
|
||||||
npm run build && \
|
npm run build && \
|
||||||
npm prune --production && \
|
npm prune --production && \
|
||||||
chmod +x /app/extra/entrypoint.sh
|
chmod +x /app/extra/entrypoint.sh
|
||||||
|
|
|
@ -2,7 +2,7 @@ FROM louislam/uptime-kuma:base-alpine AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm install --legacy-peer-deps && \
|
RUN npm ci && \
|
||||||
npm run build && \
|
npm run build && \
|
||||||
npm prune --production && \
|
npm prune --production && \
|
||||||
chmod +x /app/extra/entrypoint.sh
|
chmod +x /app/extra/entrypoint.sh
|
||||||
|
|
Loading…
Reference in a new issue