Commit Graph

10 Commits

Author SHA1 Message Date
b0f7f30f17 fix: replace Progress component with plain Box bar + use npm ci in Docker
- DocumentTranslator: replace Chakra Progress (broken types in 2.2.1
  with fresh installs) with a simple Box-based progress bar — no type
  issues, same visual result
- Dockerfile: switch from npm install to npm ci so Docker uses exact
  locked versions from package-lock.json, preventing type discrepancies
  between local and Docker builds

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 10:00:04 +01:00
7a30d14f0f fix: skip Cypress binary download in Docker build (CYPRESS_INSTALL_BINARY=0) 2026-03-10 09:42:48 +01:00
466459373a fix: move next build to image build time, drop yarn, add runner stage
- Build Next.js app during docker build (not on container start) —
  fixes yarn cache permission errors and makes container startup instant
- Remove yarn.lock during build so nothing can accidentally invoke yarn
- Add lean runner stage: copies only .next, node_modules, public —
  reduces final image size
- npm start is now the only thing that runs at container start

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 09:18:23 +01:00
e034771087 fix: handle EACCES on data/settings.json in Docker containers
- settings-store: auto-detect writable path at startup — tries
  <cwd>/data/settings.json first, falls back to /tmp/lingvai-settings.json
  if the directory is not writable. Logs a warning when fallback is used.
  Also supports SETTINGS_PATH env var for explicit override.

- Dockerfile: switch from yarn to npm, explicitly create /app/data with
  chown nextjs:nodejs so the directory is writable at runtime without
  needing a privileged volume mount.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 08:23:29 +01:00
David
af24caf962 Added Docker healthcheck and projectsegfau instance (#131) 2022-07-26 14:30:58 +02:00
David
274e7f1a4b Refactor to external scraper and update dependencies (#113) 2022-06-15 23:37:15 +02:00
David
5856776785 Default languages with env & langcodes typed (#94) 2022-02-24 19:53:31 +01:00
David
5ad055350e Docker Node version to LTS (#65) 2021-11-01 15:54:37 +01:00
David
3f0918edf3 Default dark theme with environment variable (#61)
* Created env variable for setting dark as default theme

* Docker variable simplified
2021-10-24 16:08:35 +02:00
David
4df0d40dcf Official Docker image (#46)
* Initial Dockerfile

* Docker added to Readme

* Added Docker to Travis
2021-09-05 16:44:05 +02:00