Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -6
Dockerfile
CHANGED
|
@@ -8,11 +8,9 @@ RUN apt-get update \
|
|
| 8 |
RUN wget https://github.com/OpenListTeam/OpenList/releases/latest/download/openlist-linux-amd64.tar.gz \
|
| 9 |
&& tar -zxvf openlist-linux-amd64.tar.gz openlist \
|
| 10 |
&& ls
|
| 11 |
-
CMD
|
| 12 |
-
CMD
|
| 13 |
-
CMD
|
| 14 |
-
CMD
|
| 15 |
|
| 16 |
-
# RUN mkdir -p /etc/openlist
|
| 17 |
-
# RUN docker run --user $(id -u):$(id -g) -d --restart=unless-stopped -v /etc/openlist:/opt/openlist/data -p 5244:5244 -e UMASK=022 --name="openlist" openlistteam/openlist:latest
|
| 18 |
EXPOSE 5244
|
|
|
|
| 8 |
RUN wget https://github.com/OpenListTeam/OpenList/releases/latest/download/openlist-linux-amd64.tar.gz \
|
| 9 |
&& tar -zxvf openlist-linux-amd64.tar.gz openlist \
|
| 10 |
&& ls
|
| 11 |
+
CMD ./openlist admin
|
| 12 |
+
CMD ./openlist admin random
|
| 13 |
+
CMD ./openlist admin set NEW_PASSWORD
|
| 14 |
+
CMD ./openlist server
|
| 15 |
|
|
|
|
|
|
|
| 16 |
EXPOSE 5244
|