From 1534e7b252b610f89f574b17d3a849c147c28c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9F=83=E6=8B=89?= Date: Mon, 29 Jul 2024 16:02:47 +0800 Subject: [PATCH] ci: strip --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b12a388..df08e559 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ RUN apt update && apt install -y musl-tools musl-dev pkg-config RUN cargo build --release --target x86_64-unknown-linux-musl +RUN strip target/x86_64-unknown-linux-musl/release/cloudsdale + FROM node:20 AS frontend COPY ./web /app @@ -25,8 +27,6 @@ RUN npm run build FROM alpine:latest -RUN apk --no-cache add ca-certificates - WORKDIR /app COPY --from=backend /app/target/x86_64-unknown-linux-musl/release/cloudsdale .