mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-12 02:28:11 +02: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
|
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 New Issue
Block a user