-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (21 loc) · 807 Bytes
/
Dockerfile
File metadata and controls
31 lines (21 loc) · 807 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
FROM python:3.11-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends build-essential gcc \
&& rm -rf /var/lib/apt/lists/*
# --- system deps ---
RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl gnupg git && \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y --no-install-recommends nodejs && \
rm -rf /var/lib/apt/lists/*
# --- Jupiter-MCP ---
RUN npm install -g github:pipedude/jupiter-mcp
RUN npm install -g dexpaprika-mcp
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
#COPY ./index.js /usr/lib/node_modules/jupiter-mcp/index.js
# Specify the command that will be executed when the container is started
CMD ["python", "-u", "-m", "bot.main"]