mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-25 23:04:03 +08:00

* build: improve multistage docker build * build: add dockerfile for ci * build: add BuildDockerMultiplatform function in build.sh for ci * ci: change build method * build: add missing mod download command to the Dockerfile * build: revert changes made ffmpeg installed * build: use musl build for docker release * ci: apply to dev version * fix: don't login on pr * fix: don't build_docker_with_aria2 on pr --------- Co-authored-by: Andy Hsu <i@nn.ci>
11 lines
180 B
Bash
11 lines
180 B
Bash
#!/bin/bash
|
|
|
|
chown -R ${PUID}:${PGID} /opt/alist/
|
|
|
|
umask ${UMASK}
|
|
|
|
if [ "$1" = "version" ]; then
|
|
./alist version
|
|
else
|
|
exec su-exec ${PUID}:${PGID} ./alist server --no-prefix
|
|
fi |