|
|
---
|
|
|
title: Custom New-API Instance
|
|
|
emoji: π
|
|
|
colorFrom: blue
|
|
|
colorTo: green
|
|
|
sdk: docker
|
|
|
app_port: 3000
|
|
|
license: apache-2.0
|
|
|
---
|
|
|
|
|
|
# Custom New-API Instance
|
|
|
|
|
|
This Hugging Face Space runs a custom instance of the `new-api` application using a pre-built Docker image from the GitHub Container Registry.
|
|
|
|
|
|
## π How it works
|
|
|
|
|
|
This Space is configured with `sdk: docker` in its metadata. The `Dockerfile` in this repository simply uses the `FROM` instruction to pull the public image `ghcr.io/fuwei99/new-api-docker:latest`.
|
|
|
|
|
|
Hugging Face Spaces automatically builds and runs this container, and exposes the application on port 3000 as specified by `app_port: 3000`.
|
|
|
|
|
|
## π οΈ Configuration
|
|
|
|
|
|
- **Image:** `ghcr.io/fuwei99/new-api-docker:latest`
|
|
|
- **App Port:** `3000`
|
|
|
- **SDK:** `docker`
|
|
|
|
|
|
No further configuration is needed to deploy this Space. |