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:
1 parent
1a1c19d7bb
commit
fa4516b078
5 files changed
+52
-25
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user