laobanzhang commited on
Commit
c9f5df0
·
verified ·
1 Parent(s): 8f65646

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 sudo ./openlist admin
12
- CMD sudo ./openlist admin random
13
- CMD sudo ./openlist admin set NEW_PASSWORD
14
- CMD sudo ./openlist server
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