Created
July 3, 2025 02:32
-
-
Save brmazzoni/b2c75519c984ea71ddfe0efb969315a0 to your computer and use it in GitHub Desktop.
gemini-cli Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Works with alias: `gemini='docker run -it --rm -e GEMINI_API_KEY=$GEMINI_API_KEY -v $(pwd):/app -v ~/.gemini:/root/.gemini -w /app gemini-cli'` | |
| FROM node | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| vim python3 \ | |
| && apt-get autoremove \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN npm install -g @google/gemini-cli | |
| CMD ["gemini"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment