- Dockerfile +21 -5
- README.md +1 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,21 @@
|
|
| 1 |
-
ARG aly_dav_refresh
|
| 2 |
-
FROM
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
ARG aly_dav_refresh
|
| 2 |
+
FROM ubuntu:latest
|
| 3 |
+
|
| 4 |
+
RUN apt-get update && apt-get install -y \
|
| 5 |
+
python3 \
|
| 6 |
+
python3-pip \
|
| 7 |
+
python3-dev \
|
| 8 |
+
build-essential \
|
| 9 |
+
libssl-dev \
|
| 10 |
+
libffi-dev \
|
| 11 |
+
python3-setuptools \
|
| 12 |
+
python3-venv \
|
| 13 |
+
git \
|
| 14 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
+
|
| 16 |
+
RUN pip3 install --upgrade pip
|
| 17 |
+
|
| 18 |
+
RUN pip3 install aliyundrive-webdav
|
| 19 |
+
|
| 20 |
+
# RUN aliyundrive-webdav -r $aly_dav_refresh -U admin -W admin
|
| 21 |
+
RUN aliyundrive-webdav -V
|
README.md
CHANGED
|
@@ -6,7 +6,7 @@ colorTo: green
|
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: mit
|
| 9 |
-
app_port:
|
| 10 |
---
|
| 11 |
|
| 12 |
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: 8080
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|