From fc8be98e60bad39208c7e98c9bc950e9e0d49754 Mon Sep 17 00:00:00 2001 From: just-pthai-it Date: Sat, 3 Aug 2024 01:32:17 +0700 Subject: [PATCH] Update Dockerfile-development. --- Dockerfile-development | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile-development b/Dockerfile-development index 1d9cc8c..db724f8 100644 --- a/Dockerfile-development +++ b/Dockerfile-development @@ -7,6 +7,7 @@ COPY go.mod go.sum ./ RUN go mod download COPY . . +RUN CGO_ENABLED=0 GOOS=linux go build -o ./build/migrationtool ./database/migrations/tool/. RUN CGO_ENABLED=0 GOOS=linux go build -o ./build/main ./app/. ENTRYPOINT ["./build/main"] \ No newline at end of file