- Dockerfile +14 -0
- README.md +1 -0
Dockerfile
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ubuntu:latest
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
RUN apt-get update && apt-get install -y wget
|
| 5 |
+
RUN wget https://github.com/cloudreve/Cloudreve/releases/download/3.8.2/cloudreve_3.8.2_linux_amd64.tar.gz
|
| 6 |
+
|
| 7 |
+
#解压获取到的主程序
|
| 8 |
+
RUN tar -zxvf cloudreve_VERSION_OS_ARCH.tar.gz
|
| 9 |
+
|
| 10 |
+
# 赋予执行权限
|
| 11 |
+
RUN chmod +x ./cloudreve
|
| 12 |
+
|
| 13 |
+
# 启动 Cloudreve
|
| 14 |
+
RUN ./cloudreve
|
README.md
CHANGED
|
@@ -6,6 +6,7 @@ colorTo: gray
|
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: mit
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: mit
|
| 9 |
+
app_port: 5212
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|