LogLInk1K commited on
Commit
02a085a
·
verified ·
1 Parent(s): 46f4296

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,2 +1,5 @@
1
  FROM openlistteam/openlist:v4.1.0
2
- EXPOSE 5244
 
 
 
 
1
  FROM openlistteam/openlist:v4.1.0
2
+ WORKDIR /opt/openlist
3
+ USER root
4
+ EXPOSE 5244
5
+ CMD sh -c "mkdir -p /opt/openlist/data && echo \$BACKUP_JSON_BASE64 | base64 -d > /opt/openlist/data/config.json && ./openlist server"