From 2b696fde317bfd3b1b22c1f708bc9a603db76949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCsamettin=20ARABACI?= Date: Tue, 13 Feb 2024 20:41:16 +0000 Subject: [PATCH] Changed Dockerfile for CI/CD --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2c279f0..24c4371 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN adduser \ WORKDIR /app COPY . ./ RUN go mod edit -dropreplace github.com/octoposprime/op-be-shared -RUN go mod tidy +#RUN go mod tidy RUN go get -v ./... RUN go mod download RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o main ./cmd/service/main.go