mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-08-29 04:01:01 +00:00
change to npm ci
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user