Spaces:
Sleeping
Sleeping
atikur-rabbi
commited on
Commit
β’
73e16b7
1
Parent(s):
9ed0cb1
Upload 3 files
Browse files- Dockerfile +7 -0
- README.md +2 -0
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM ollama/ollama:0.1.29
|
2 |
+
|
3 |
+
ENV OLLAMA_HOST=0.0.0.0
|
4 |
+
|
5 |
+
RUN useradd -m appuser && chown -R appuser:appuser /home/appuser
|
6 |
+
|
7 |
+
USER appuser
|
README.md
CHANGED
@@ -4,7 +4,9 @@ emoji: π
|
|
4 |
colorFrom: purple
|
5 |
colorTo: purple
|
6 |
sdk: docker
|
|
|
7 |
pinned: false
|
|
|
8 |
---
|
9 |
|
10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
4 |
colorFrom: purple
|
5 |
colorTo: purple
|
6 |
sdk: docker
|
7 |
+
app_port: 11434
|
8 |
pinned: false
|
9 |
+
license: mit
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|