mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 23:41:25 +02:00
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:
parent
06107f6a52
commit
c4b8a16740
2 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue