fix(ci): add build tools to backend Dockerfile for native deps

@discordjs/opus requires Python and C++ build tools for native
compilation. The discord-gateway Dockerfile already had these but
the backend Dockerfile was missing them, causing CI build failure.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-06-11 03:58:47 +07:00
co-authored by Claude Fable 5
parent 2e5371f3ee
commit 490aad7704
+4
View File
@@ -5,6 +5,10 @@ WORKDIR /app
# Install pnpm
RUN npm install -g pnpm
# Install build tools for native dependencies (node-crc, @discordjs/opus)
# @discordjs/voice is a shared workspace dependency needed even by backend
RUN apk add --no-cache python3 make g++
# Create non-root user
RUN addgroup -S app && adduser -S -G app app