fix(sandbox): use CMD for default entrypoint (#601)

This commit is contained in:
Brandon Keiji 2025-05-29 22:16:39 +00:00 committed by GitHub
parent 4b7248fc46
commit f21abdd1f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
FROM docker.io/library/node:20-slim
# ENV SANDBOX="gemini-cli-sandbox"
# install minimal set of packages, then clean up
RUN apt-get update && apt-get install -y --no-install-recommends \
man-db \
@ -37,4 +39,5 @@ RUN npm install -g /usr/local/share/npm-global/gemini-code-cli.tgz /usr/local/sh
&& npm cache clean --force \
&& rm -f /usr/local/share/npm-global/gemini-code-{cli,server}.tgz
ENTRYPOINT ["gemini"]
# default entrypoint when none specified
CMD ["gemini"]