fix: Docker build failures for mana-media and inventar-web

- mana-media: strip workspace devDep before bun install (shared-drizzle-config
  is only needed for drizzle-kit, not at runtime)
- inventar-web: replace nested <button> with <div role="button"> to fix
  Svelte 5 HTML validation error during build

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-30 21:31:52 +02:00
parent dffb5eb9dc
commit df19d3acc4
2 changed files with 9 additions and 4 deletions

View file

@ -5,7 +5,9 @@ WORKDIR /app
COPY package.json bun.lock* ./
COPY src ./src
RUN bun install --production --frozen-lockfile
# Remove workspace devDependencies that can't resolve in Docker, then install
RUN sed -i '/"@manacore\/shared-drizzle-config"/d' package.json && \
bun install --production --frozen-lockfile 2>/dev/null || bun install --production
EXPOSE 3015