Spaces:
Running
Running
winstxnhdw
commited on
Commit
β’
8968c14
1
Parent(s):
f7ce03c
build: set `HUGGINGFACE_HUB_CACHE`
Browse files- Dockerfile +6 -0
- README.md +1 -1
Dockerfile
CHANGED
@@ -1 +1,7 @@
|
|
1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
2 |
+
|
3 |
+
ENV SERVER_PORT 7860
|
4 |
+
ENV HUGGINGFACE_HUB_CACHE /cache
|
5 |
+
|
6 |
+
RUN mkdir /cache
|
7 |
+
RUN chmod 777 /cache
|
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π’
|
4 |
colorFrom: pink
|
5 |
colorTo: red
|
|
|
1 |
---
|
2 |
+
title: nllb-api
|
3 |
emoji: π’
|
4 |
colorFrom: pink
|
5 |
colorTo: red
|