From d3bfca42f672807316a5586151972cdc84c87434 Mon Sep 17 00:00:00 2001 From: amtoaer Date: Thu, 2 May 2024 00:45:47 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=85=88=E5=AE=89=E8=A3=85=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=86=8D=20copy=20=E4=BA=8C=E8=BF=9B=E5=88=B6?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=8C=E7=A1=AE=E4=BF=9D=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=20docker=20=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 \