Spaces:
Running
Running
Switch to Docker nginx static landing (sdk docker)
Browse files- Dockerfile +8 -0
- README.md +6 -6
- nginx.conf +11 -0
Dockerfile
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM nginx:alpine
|
| 2 |
+
|
| 3 |
+
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
| 4 |
+
COPY index.html /usr/share/nginx/html/index.html
|
| 5 |
+
COPY asset-manifest.json /usr/share/nginx/html/asset-manifest.json
|
| 6 |
+
COPY static /usr/share/nginx/html/static
|
| 7 |
+
|
| 8 |
+
EXPOSE 7860
|
README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
| 1 |
-
|
| 2 |
title: CodXER Robin
|
| 3 |
emoji: 🐠
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: red
|
| 6 |
-
sdk:
|
|
|
|
| 7 |
pinned: false
|
| 8 |
-
app_file: index.html
|
| 9 |
license: mit
|
| 10 |
short_description: CodXER Robin — OpenAI-compatible orchestrator API
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# CodXER Robin (
|
| 14 |
|
| 15 |
Public landing page for **CodXER Robin** — an OpenAI-compatible **multi-model orchestration API** operated by [CodXER](https://codxer.com/).
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
|
|
|
| 1 |
+
---
|
| 2 |
title: CodXER Robin
|
| 3 |
emoji: 🐠
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: red
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
pinned: false
|
|
|
|
| 9 |
license: mit
|
| 10 |
short_description: CodXER Robin — OpenAI-compatible orchestrator API
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# CodXER Robin (Docker static landing)
|
| 14 |
|
| 15 |
Public landing page for **CodXER Robin** — an OpenAI-compatible **multi-model orchestration API** operated by [CodXER](https://codxer.com/).
|
| 16 |
|
| 17 |
+
Served via nginx on port 7860 inside a Docker Space.
|
| 18 |
|
| 19 |
+
Source of truth: `Hetzner/apps/platforms/codxer-robin-hf/` in the CodXER monorepo.
|
nginx.conf
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
server {
|
| 2 |
+
listen 7860;
|
| 3 |
+
listen [::]:7860;
|
| 4 |
+
server_name _;
|
| 5 |
+
root /usr/share/nginx/html;
|
| 6 |
+
index index.html;
|
| 7 |
+
|
| 8 |
+
location / {
|
| 9 |
+
try_files $uri $uri/ /index.html;
|
| 10 |
+
}
|
| 11 |
+
}
|