From ea536fc9989e93a64d08e502d1abb387066f0edd Mon Sep 17 00:00:00 2001 From: linuxMate Date: Wed, 29 Nov 2023 07:22:25 +0300 Subject: [PATCH] try 1 --- build/auth.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/auth.Dockerfile b/build/auth.Dockerfile index 8c2e005a..b9719d8a 100644 --- a/build/auth.Dockerfile +++ b/build/auth.Dockerfile @@ -4,7 +4,7 @@ FROM golang:1.21.0-alpine AS builder COPY . /github.com/go-park-mail-ru/2023_2_Hamster/ WORKDIR /github.com/go-park-mail-ru/2023_2_Hamster/ -RUN go mod download +RUN go mod download && go mod tidy RUN go clean --modcache RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -o auth ./cmd/auth/main.go