Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +4 -0
- README.md +9 -0
- hf_config.json +25 -0
Dockerfile
CHANGED
|
@@ -90,4 +90,8 @@ RUN npm install
|
|
| 90 |
ENV PORT=7860
|
| 91 |
|
| 92 |
RUN mkdir -p volatile/config && echo '{"config_name": "hf-space", "allow_all_host_values": true, "http_port": 7860, "services": {"database": {"engine": "sqlite", "path": "puter-database.sqlite"}, "thumbnails": {"engine": "purejs"}, "file-cache": {"disk_limit": 16384, "disk_max_size": 16384, "precache_size": 16384, "path": "./file-cache"}}}' > volatile/config/config.json
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
CMD ["npm", "start"]
|
|
|
|
| 90 |
ENV PORT=7860
|
| 91 |
|
| 92 |
RUN mkdir -p volatile/config && echo '{"config_name": "hf-space", "allow_all_host_values": true, "http_port": 7860, "services": {"database": {"engine": "sqlite", "path": "puter-database.sqlite"}, "thumbnails": {"engine": "purejs"}, "file-cache": {"disk_limit": 16384, "disk_max_size": 16384, "precache_size": 16384, "path": "./file-cache"}}}' > volatile/config/config.json
|
| 93 |
+
ENV PORT=7860
|
| 94 |
+
|
| 95 |
+
RUN mkdir -p volatile/config
|
| 96 |
+
COPY hf_config.json volatile/config/config.json
|
| 97 |
CMD ["npm", "start"]
|
README.md
CHANGED
|
@@ -7,6 +7,15 @@ sdk: docker
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
<h3 align="center"><img width="80" alt="Puter.com, The Personal Cloud Computer: All your files, apps, and games in one place accessible from anywhere at any time." src="https://assets.puter.site/puter-logo.png"></h3>
|
| 11 |
|
| 12 |
<h3 align="center">The Internet OS! Free, Open-Source, and Self-Hostable.</h3>
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
+
---
|
| 11 |
+
title: Puter
|
| 12 |
+
emoji: 🖥️
|
| 13 |
+
colorFrom: blue
|
| 14 |
+
colorTo: purple
|
| 15 |
+
sdk: docker
|
| 16 |
+
pinned: false
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
<h3 align="center"><img width="80" alt="Puter.com, The Personal Cloud Computer: All your files, apps, and games in one place accessible from anywhere at any time." src="https://assets.puter.site/puter-logo.png"></h3>
|
| 20 |
|
| 21 |
<h3 align="center">The Internet OS! Free, Open-Source, and Self-Hostable.</h3>
|
hf_config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config_name": "hf-space",
|
| 3 |
+
"env": "production",
|
| 4 |
+
"server_id": "hf-space",
|
| 5 |
+
"http_port": 7860,
|
| 6 |
+
"domain": "gionuibk-puter-deploy.hf.space",
|
| 7 |
+
"protocol": "https",
|
| 8 |
+
"allow_all_host_values": true,
|
| 9 |
+
"origin": "https://gionuibk-puter-deploy.hf.space:7860",
|
| 10 |
+
"services": {
|
| 11 |
+
"database": {
|
| 12 |
+
"engine": "sqlite",
|
| 13 |
+
"path": "puter-database.sqlite"
|
| 14 |
+
},
|
| 15 |
+
"thumbnails": {
|
| 16 |
+
"engine": "purejs"
|
| 17 |
+
},
|
| 18 |
+
"file-cache": {
|
| 19 |
+
"disk_limit": 16384,
|
| 20 |
+
"disk_max_size": 16384,
|
| 21 |
+
"precache_size": 16384,
|
| 22 |
+
"path": "./file-cache"
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|