Commit Graph

9 Commits

Author SHA1 Message Date
fc59e7e133 Run docker installs from the workspace root
Mounting only ./backend and ./frontend into /app made pnpm look for a
per-package lockfile (stale) and miss the workspace-root one entirely,
so --frozen-lockfile failed and root pnpm.onlyBuiltDependencies didn't
apply. Mount the whole repo at /repo, install with --filter from root,
and use the canonical workspace lockfile. Drop the per-package
onlyBuiltDependencies overrides — pnpm warns they're ignored outside
the workspace root.

Pin node:22-bookworm: node:lts now resolves to Node 24, for which
isolated-vm@5.0.3 has no prebuild and won't compile (V8 headers
require C++20).

Gitignore stray per-package lockfiles so they don't drift again.
2026-04-23 21:57:37 +04:00
39460df61d Fix prod docker build: native modules and frontend devDeps
Per-package onlyBuiltDependencies so pnpm 10 actually compiles native
modules (isolated-vm, argon2, sqlite3, sharp) — root workspace config
isn't visible when compose mounts a single package into /app.

Frontend container now installs with devDeps (so tsc/vite exist),
prunes after build, and gains a `start` script that serves the build
via vite preview on 0.0.0.0:3000.

Drop obsolete compose `version` key.
2026-04-23 21:52:22 +04:00
fc8ed55773 Multi line command 2023-07-09 23:36:58 +04:00
6194862e6f Rename containers 2023-07-09 23:09:00 +04:00
36ed752f4c Port fixes 2023-07-09 22:54:13 +04:00
4ee639e684 Change ports 2023-07-09 22:52:01 +04:00
ee7ae7fe7f force removal of .env 2023-07-09 22:40:00 +04:00
a8029be415 Remove .env in prod 2023-07-09 22:35:30 +04:00
daa0357368 Add initial production 2023-07-09 22:20:35 +04:00