mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-23 05:44:04 +08:00
fix(docker): use root user as default
This commit is contained in:
parent
143e4cd077
commit
395f0fc5f3
@ -13,6 +13,6 @@ COPY --from=builder /app/bin/alist ./
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN apk add ca-certificates bash su-exec; \
|
||||
chmod +x /entrypoint.sh
|
||||
ENV PUID=1000 PGID=1000 UMASK=022
|
||||
ENV PUID=0 PGID=0 UMASK=022
|
||||
EXPOSE 5244
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user