feat: add Berlin timezone support to containers

- Add tzdata package to Dockerfile runner stage
- Set TZ=Europe/Berlin in docker-compose.yml for both trading-bot and postgres
- All container timestamps now show CET instead of UTC
- User-friendly log times matching local time

Files changed:
- Dockerfile: Added tzdata to runner stage
- docker-compose.yml: Added TZ environment variable
This commit is contained in:
mindesbunister
2025-11-14 05:56:03 +01:00
parent 5c0412bcf2
commit 9673457326
2 changed files with 6 additions and 2 deletions

View File

@@ -58,8 +58,8 @@ RUN npm run build
# ================================
FROM node:20-alpine AS runner
# Install dumb-init for proper signal handling and Docker CLI for restart capability
RUN apk add --no-cache dumb-init docker-cli
# Install dumb-init for proper signal handling, Docker CLI for restart capability, and tzdata for timezone support
RUN apk add --no-cache dumb-init docker-cli tzdata
WORKDIR /app