https://github.com/qubitpi/graphgpt-docker
Docker image of GraphGPT
https://github.com/qubitpi/graphgpt-docker
Last synced: 3 months ago
JSON representation
Docker image of GraphGPT
- Host: GitHub
- URL: https://github.com/qubitpi/graphgpt-docker
- Owner: QubitPi
- Archived: true
- Created: 2024-07-26T10:19:55.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-07-29T08:32:17.000Z (9 months ago)
- Last Synced: 2024-10-27T06:03:40.508Z (6 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[  ](https://hub.docker.com/r/jack20191124/graphgpt)
[](https://github.com/QubitPi/graphgpt-docker/actions/workflows/ci-cd.yml)

[![Apache License Badge]][Apache License, Version 2.0]GraphGPT Docker Image
=====================This image can be used for quick provisioning of [GraphGPT](https://huggingface.co/spaces/QubitPi/graphgpt) in the case
of1. No VPN access to HuggingFace
2. Local Dev/TestingGetting Image
-------------### Docker Hub
We can pull the image from [my docker hub](https://hub.docker.com/r/jack20191124/graphgpt/):
```console
docker pull jack20191124/graphgpt
```### GitHub
We could also build the image from [GitHub repository](https://github.com/QubitPi/graphgpt-docker):
```console
git clone https://github.com/QubitPi/graphgpt-docker.git
cd jupiter
docker build -t jack20191124/graphgpt .
```Standing Up a Container
-----------------------When image is on our machine (either by pulling or building), we can spin up a GraphGPT instance by
```console
docker run -d --name=graphgpt -it -p 7860:7860 jack20191124/graphgpt
```* **name=graphgpt**: the container is named "graphgpt". We can change it accordingly.
* **-p 7860:7860**: the port-forwarding from host's 7860 to the GraphGPT app running in container at 7860
* **-d**: keeps container running in background after startGraphGPT Inferencing
--------------------After container starts up successfully, please visit http://localhost:7860/docs, which is a Swagger API that guides us
to send our first inferencing requestLicense
-------The use and distribution terms for [graphgpt-docker] are covered by the [Apache License, Version 2.0].
[Apache License Badge]: https://img.shields.io/badge/Apache%202.0-F25910.svg?style=for-the-badge&logo=Apache&logoColor=white
[Apache License, Version 2.0]: http://www.apache.org/licenses/LICENSE-2.0.html