From 2e42b5724b6d62df6d5137de8f86a53888117884 Mon Sep 17 00:00:00 2001 From: ScR4PP <95632351+JarcauCristian@users.noreply.github.com> Date: Mon, 18 Mar 2024 10:47:08 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d50c2ea..687ee64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,12 @@ RUN go mod download COPY configs ./configs -RUN curl https://dl.min.io/client/mc/release/linux-arm64/mc -o mc +RUN curl https://dl.min.io/client/mc/release/linux-amd64/mc -o mc RUN chmod +x ./mc +RUN export PATH=$PATH:/app/ + COPY *.go ./ RUN CGO_ENABLED=0 GOOS=linux go build -o /minio_api