Commit Graph
5 Commits
Author SHA1 Message Date
nmemmertandClaude Sonnet 4.6 559a47c092 Use build-base + linux-headers for better-sqlite3 on Alpine
Docker Build and Push / build (push) Failing after 2m31s
g++ alone is missing musl-dev and binutils; build-base is Alpine's
equivalent of build-essential and covers the full GCC toolchain
needed by node-gyp.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-26 15:02:32 -04:00
nmemmertandClaude Sonnet 4.6 d96d923054 Fix server npm ci: add native build tools for better-sqlite3
Docker Build and Push / build (push) Failing after 3m39s
better-sqlite3 requires python3/make/g++ to compile on Alpine.
Also switches deprecated --only=production to --omit=dev.
Build tools are removed after install to keep image size down.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-26 14:54:01 -04:00
nmemmertandClaude Sonnet 4.6 e7efe3c80d Fix npm ci failure for react-scripts 5 + React 19 peer deps
Docker Build and Push / build (push) Failing after 3m3s
react-scripts@5.0.1 declares peer deps against React 17/18; adding
--legacy-peer-deps lets npm ci succeed without changing the lockfile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-26 14:48:18 -04:00
Nate Emmert 264bdaf668 Fix Docker data directory permissions
- Create /app/data directory before switching to non-root user
- Set proper ownership (1001:1001) for nodejs user
- Resolves SQLite database write permission errors
2025-12-12 14:00:40 -05:00
Nate Emmert 4e4f2fb324 Add Docker support and update README
- Add Dockerfile with multi-stage build for Node.js + React
- Add docker-compose.yml for easy local deployment
- Add .dockerignore to exclude unnecessary files
- Add GitHub Actions workflow for automatic Docker image builds and pushes to GHCR
- Add comprehensive DOCKER.md documentation
- Update README with Docker installation instructions
2025-12-12 13:32:01 -05:00