fix: improve authentication and container reliability

- Update admin login logic to include email validation and optional fallback
- Make Docker builds flexible for missing lockfiles
- Standardize on 'node' user in web Dockerfile
- Improve Nginx header forwarding for proxies
- Add volume persistence and health dependency to compose file
This commit is contained in:
Team Dark Devil committed 2026-11-16 23:22:11 +06:00
1 parent 1a1c19d7bb
commit fa4516b078
5 files changed
+52 -25

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
FROM node:22-alpine AS dependencies
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --omit=dev
COPY package.json package-lock.json* ./
RUN if [ -f package-lock.json ]; then npm ci --omit=dev; else npm install --omit=dev --no-audit --no-fund; fi
FROM node:22-alpine AS runner
WORKDIR /app