Patch logger for ISO8601 TZ offsets and fix Docker build

- server/logger.ts: timestamps now use local TZ offset instead of Z
- Dockerfile: replaced 'npm ci --omit=dev' with 'npm install --omit=dev' to fix Alpine build failure
- References discussion: https://github.com/orgs/fosrl/discussions/1025
- Note: timestamps default to +00:00 (UTC) unless the user sets environment: TZ=<timezone> in docker-compose.yaml

Optional future improvement: include tzdata in the container for shell/date consistency.
This commit is contained in:
iconoclast hero
2025-10-03 09:33:43 -04:00
parent 68e0911866
commit f52605289b
2 changed files with 8 additions and 1 deletions

View File

@@ -29,7 +29,9 @@ RUN apk add --no-cache curl
# COPY package.json package-lock.json ./
COPY package*.json ./
#RUN npm ci --omit=dev && npm cache clean --force
# 'npm ci --omit=dev' with 'npm install --omit=dev' to fix Alpine build failure
# RUN npm ci --omit=dev && npm cache clean --force
RUN npm install --omit=dev && npm cache clean --force
COPY --from=builder /app/.next/standalone ./