Fix deploy health check for /mstcontroller and cut ready-loop waste.
Deploy edu.mstaut.ir / deploy (push) Successful in 5m56s
Deploy edu.mstaut.ir / deploy (push) Successful in 5m56s
Admin login moved off /admin; old path caused 404 spam for up to two minutes. Slim smoke checks, shorter retries, quieter migrate logs, and npm ci without audit in the image build. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
69bdaf0113
commit
c97498a2ae
4 files changed
+48
-20
No files matched your search
+4
-1
@@ -1,8 +1,11 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
# ---- Dependencies ----
|
||||
FROM node:22-alpine AS deps
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
# Skip audit/fund in image builds (saves ~30–60s); keep npm cache across deploys.
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
npm ci --no-audit --no-fund
|
||||
|
||||
# ---- Builder ----
|
||||
FROM node:22-alpine AS builder
|
||||
|
||||
Reference in new issue
Block a user