Compare commits
2 Commits
fix/durabl
...
3c69995097
| Author | SHA1 | Date | |
|---|---|---|---|
| 3c69995097 | |||
| 9789b6fc16 |
@@ -9,10 +9,15 @@ COPY package.json bun.lock tsconfig.json ./
|
|||||||
# Copy all packages the server + observer + dashboard need
|
# Copy all packages the server + observer + dashboard need
|
||||||
COPY packages ./packages
|
COPY packages ./packages
|
||||||
|
|
||||||
RUN bun install --frozen-lockfile
|
# BuildKit gives each RUN a 1024 soft file-descriptor limit while the hard
|
||||||
|
# limit is ~1M. bun extracts tarballs in parallel, so a large package can
|
||||||
|
# exhaust the descriptors and the install dies with "Fail extracting tarball"
|
||||||
|
# — reproducible in a build, invisible outside one because `docker run`
|
||||||
|
# inherits a far higher limit. Raise the soft limit to what the host allows.
|
||||||
|
RUN ulimit -n "$(ulimit -Hn)" && bun install --frozen-lockfile
|
||||||
|
|
||||||
# Build the dashboard SPA → dist/, then copy to observer's dist/
|
# Build the dashboard SPA → dist/, then copy to observer's dist/
|
||||||
RUN cd packages/shade-dashboard && bun run build
|
RUN ulimit -n "$(ulimit -Hn)" && cd packages/shade-dashboard && bun run build
|
||||||
|
|
||||||
# ─── Production stage ───────────────────────────────────────
|
# ─── Production stage ───────────────────────────────────────
|
||||||
FROM oven/bun:1-alpine
|
FROM oven/bun:1-alpine
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Full backup mot en KJØRENDE vault — ikke Hono-fetch, men ekte HTTP.
|
* Full backup mot en KJØRENDE vault — ikke Hono-fetch, men ekte HTTP.
|
||||||
*
|
*
|
||||||
* Kjøres manuelt mot en container eller en deployet tjeneste:
|
* Kjøres manuelt mot en container eller en deployet tjeneste:
|
||||||
* SCAFFOLDD_SOCKET=... RELAY=https://vault.zyon.no bun live-e2e.ts
|
* SCAFFOLDD_SOCKET=... RELAY=https://scaffold.zyon.no bun live-e2e.ts
|
||||||
*/
|
*/
|
||||||
import { connect } from 'node:net';
|
import { connect } from 'node:net';
|
||||||
import { readFile } from 'node:fs/promises';
|
import { readFile } from 'node:fs/promises';
|
||||||
|
|||||||
Reference in New Issue
Block a user