diff --git a/Dockerfile b/Dockerfile index c66dd8e..e481e48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,13 +4,13 @@ ARG TARGETPLATFORM WORKDIR /app -COPY ./*-bili-sync-rs ./targets/ - RUN apk update && apk add --no-cache \ ca-certificates \ tzdata \ ffmpeg +COPY ./*-bili-sync-rs ./targets/ + RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ mv ./targets/Linux-x86_64-bili-sync-rs ./bili-sync-rs; \ else \