Sign inSign up

ceramicwhite/ai-shell

By ceramicwhite

•Updated over 3 years ago

https://github.com/BuilderIO/ai-shell + gotty

Image
0

2.2K

ceramicwhite/ai-shell repository overview

Run:

docker run -it --rm -p 3000:3000 -e OPENAI_KEY=<your-key> ceramicwhite/ai-shell

Dockerfile:

FROM node:18.14-alpine3.17

ENV OPENAI_KEY=${OPENAI_KEY} 

COPY --from=ceramicwhite/gotty /usr/bin/gotty /bin/gotty

RUN npm install -g npm && \
    npm install -g @builder.io/ai-shell

ENTRYPOINT ["gotty", "--port", "3000", "--permit-write", "--title-format", "AI-Shell Terminal"]
CMD /bin/sh -c "echo OPENAI_KEY=$OPENAI_KEY > ~/.ai-shell && ai"

Tag summary

Content type

Image

Digest

sha256:8352bb57e…

Size

73.2 MB

Last updated

over 3 years ago

docker pull ceramicwhite/ai-shell