fix(manacore/web): fix Docker build and healthchecks

Add missing shared-uload package copy and zitare content build step to
Dockerfile. Replace wget/httpx healthchecks with bun fetch and stdlib
urllib to remove external dependencies in containers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-02 01:53:31 +02:00
parent 06107f6a52
commit c4b8a16740
2 changed files with 7 additions and 2 deletions

View file

@ -14,10 +14,15 @@ COPY apps/manacore/apps/web ./apps/manacore/apps/web
COPY apps/calc/packages/shared ./apps/calc/packages/shared
COPY apps/clock/packages/shared ./apps/clock/packages/shared
COPY apps/zitare/packages/content ./apps/zitare/packages/content
COPY packages/shared-uload ./packages/shared-uload
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store \
pnpm install --no-frozen-lockfile --ignore-scripts
# Build dependencies that need compilation
WORKDIR /app/apps/zitare/packages/content
RUN pnpm build
WORKDIR /app/apps/manacore/apps/web
RUN pnpm exec svelte-kit sync
RUN NODE_OPTIONS="--max-old-space-size=4096" pnpm build