-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (26 loc) · 737 Bytes
/
Dockerfile
File metadata and controls
34 lines (26 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM python:3.11-slim
# Install system dependencies for audio processing and Node.js
RUN apt-get update && apt-get install -y \
ffmpeg \
libopus0 \
libffi-dev \
libnacl-dev \
gcc \
portaudio19-dev \
python3-dev \
curl \
gnupg \
&& rm -rf /var/lib/apt/lists/*
# Install Node.js 18.x (required for Claude Code CLI)
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
# Install Claude Code CLI globally
RUN npm install -g @anthropic-ai/claude-code
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
# Run the Discord bot
CMD ["python", "-m", "src.bot"]