FROM openlistteam/openlist:v4.1.8 # 使用 root 用户运行 USER 0:0 # 确保 data 目录存在并有正确权限 RUN mkdir -p /opt/openlist/data && \ chmod -R 755 /opt/openlist/data