fix(docker): use root user as default

pull/2849/head
Noah Hsu 2022-12-30 14:21:39 +08:00
parent 143e4cd077
commit 395f0fc5f3
1 changed files with 1 additions and 1 deletions

View File

@ -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" ]