Commit Graph

14 Commits

Author SHA1 Message Date
Knee Cola
57dcebd640 refactor: convert repository to monorepo with npm workspaces
Restructured the repository into a monorepo to better organize application code
and maintenance scripts.

## Workspace Structure
- web-app: Next.js application (all app code moved from root)
- housekeeping: Database backup and maintenance scripts

## Key Changes
- Moved all application code to web-app/ using git mv
- Moved database scripts to housekeeping/ workspace
- Updated Dockerfile for monorepo build process
- Updated docker-compose files (volume paths: ./web-app/etc/hosts/)
- Updated .gitignore for workspace-level node_modules
- Updated documentation (README.md, CLAUDE.md, CHANGELOG.md)

## Migration Impact
- Root package.json now manages workspaces
- Build commands delegate to web-app workspace
- All file history preserved via git mv
- Docker build process updated for workspace structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-25 12:13:04 +01:00
Knee Cola
a593d2a373 (chore) Dockerfile: remove USE_MOCK_AUTH environment variable 2025-11-23 23:00:07 +01:00
Knee Cola
53b160fa38 Set production environment variables for NODE_ENV and USE_MOCK_AUTH 2025-11-20 18:54:17 +01:00
Knee Cola
cf7b914aed (fix) Dockerfile: CMD was not compatible with distroless image 2025-11-17 14:33:10 +01:00
Knee Cola
dedc030384 Replace Alpine with distroless image for production stage
Switch from node:24-alpine to gcr.io/distroless/nodejs20-debian12:nonroot
for enhanced security and reduced attack surface. Distroless images contain
only runtime dependencies without shell, package managers, or other utilities.

Changes:
- Use distroless nodejs20-debian12:nonroot base image
- Remove manual user creation (use built-in nonroot user)
- Remove RUN commands for directory creation (incompatible with distroless)
- Update file ownership to nonroot:nonroot

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 14:06:31 +01:00
76e864b53f Dockerfile: upgraded Node version 18>24 2025-08-11 12:59:00 +02:00
0a16afb1b6 Dockerfile: fixed ENV var syntax 2025-08-11 12:58:29 +02:00
199159c208 added custom login screen 2024-02-13 16:07:50 +01:00
bce9b6e811 Dockerfile: public dir was not copied corectly 2024-02-12 16:00:34 +01:00
c9971fce62 Bugfix: pdf.worker.min.mjs was not copied to docker image 2024-02-12 15:47:30 +01:00
cb682013c4 removed "public" dir from dockerfile 2024-01-10 16:17:10 +01:00
3e56ea3ae6 finished docker build & deploy 2024-01-10 13:27:25 +01:00
bf99801157 Dockerfile: fixed installation of prod dependencies 2024-01-09 16:58:09 +01:00
3abba9347b implemented Dockerfile 2024-01-09 16:55:46 +01:00