mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-28 06:37:43 +02:00
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:
parent
dffb5eb9dc
commit
df19d3acc4
2 changed files with 9 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue