Commit
·
fa476c4
1
Parent(s):
5b77263
feat: add `Upgrade` header on any request
Browse files- Dockerfile +3 -2
- README.md +1 -1
Dockerfile
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
| 2 |
|
| 3 |
-
ENV SERVER_PORT
|
| 4 |
-
ENV BACKEND_INTERNAL_URL http://localhost
|
|
|
|
| 5 |
|
| 6 |
EXPOSE $SERVER_PORT
|
|
|
|
| 1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
| 2 |
|
| 3 |
+
ENV SERVER_PORT 5000
|
| 4 |
+
ENV BACKEND_INTERNAL_URL http://localhost:5000
|
| 5 |
+
ENV BACKEND_URL http://localhost:7860
|
| 6 |
|
| 7 |
EXPOSE $SERVER_PORT
|
README.md
CHANGED
|
@@ -5,7 +5,7 @@ colorFrom: blue
|
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
python_version: 3.11.4
|
| 8 |
-
app_port:
|
| 9 |
models: [winstxnhdw/nllb-200-distilled-1.3B-ct2-int8]
|
| 10 |
tags: [translation, translator, nllb, ctranslate2]
|
| 11 |
pinned: true
|
|
|
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
python_version: 3.11.4
|
| 8 |
+
app_port: 7860
|
| 9 |
models: [winstxnhdw/nllb-200-distilled-1.3B-ct2-int8]
|
| 10 |
tags: [translation, translator, nllb, ctranslate2]
|
| 11 |
pinned: true
|