Gemini Docker
This commit is contained in:
22
Dockerfile
Normal file
22
Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
# Utiliser Node 20 slim
|
||||
FROM node:20-slim
|
||||
|
||||
|
||||
# Installer les dépendances nécessaires pour npm global + bash
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
ca-certificates \
|
||||
git \
|
||||
bash \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Installer gemini-cli globalement
|
||||
RUN npm install -g @google/gemini-cli
|
||||
|
||||
# Créer un répertoire de travail
|
||||
WORKDIR /app
|
||||
|
||||
# Par défaut on reste dans bash interactif
|
||||
CMD ["/bin/bash"]
|
||||
|
||||
Reference in New Issue
Block a user