geronimo-pericoli commited on
Commit
b35e9d8
·
verified ·
1 Parent(s): cbc96b7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -1
Dockerfile CHANGED
@@ -2,7 +2,16 @@
2
  FROM python:3.10-slim
3
 
4
  WORKDIR /app
 
 
 
 
 
 
5
  COPY . .
6
- RUN pip install --upgrade pip && pip install fastmcp
 
 
7
  EXPOSE 7860
 
8
  CMD ["python", "server.py"]
 
2
  FROM python:3.10-slim
3
 
4
  WORKDIR /app
5
+
6
+ # Instalar dependencias del sistema para aiohttp
7
+ RUN apt-get update && apt-get install -y --no-install-recommends \
8
+ gcc python3-dev && \
9
+ rm -rf /var/lib/apt/lists/*
10
+
11
  COPY . .
12
+
13
+ RUN pip install --no-cache-dir fastmcp aiohttp
14
+
15
  EXPOSE 7860
16
+
17
  CMD ["python", "server.py"]