Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -6
Dockerfile
CHANGED
|
@@ -11,11 +11,10 @@ RUN wget https://github.com/OpenListTeam/OpenList/releases/latest/download/openl
|
|
| 11 |
&& tar -zxvf openlist-linux-amd64.tar.gz openlist \
|
| 12 |
&& ls
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
CMD ./openlist
|
| 19 |
-
CMD ./openlist admin set NEW_PASSWORD
|
| 20 |
|
| 21 |
EXPOSE 5244
|
|
|
|
| 11 |
&& tar -zxvf openlist-linux-amd64.tar.gz openlist \
|
| 12 |
&& ls
|
| 13 |
|
| 14 |
+
RUN chmod +x openlist
|
| 15 |
+
RUN chmod -R +x /openlist
|
| 16 |
+
RUN ./openlist admin
|
| 17 |
+
RUN ./openlist admin random
|
| 18 |
+
CMD ./openlist start
|
|
|
|
| 19 |
|
| 20 |
EXPOSE 5244
|