mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-24 08:00:18 -06:00
change to npm ci
This commit is contained in:
parent
2625cbe0d2
commit
d3517e76c1
@ -2,7 +2,7 @@ FROM louislam/uptime-kuma:base-debian AS build
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
RUN npm install --legacy-peer-deps && \
|
||||
RUN npm ci && \
|
||||
npm run build && \
|
||||
npm prune --production && \
|
||||
chmod +x /app/extra/entrypoint.sh
|
||||
|
@ -2,7 +2,7 @@ FROM louislam/uptime-kuma:base-alpine AS build
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
RUN npm install --legacy-peer-deps && \
|
||||
RUN npm ci && \
|
||||
npm run build && \
|
||||
npm prune --production && \
|
||||
chmod +x /app/extra/entrypoint.sh
|
||||
|
Loading…
Reference in New Issue
Block a user