From 4647bfce1b0c8ca966d99478d83bd5f3f9d9decb Mon Sep 17 00:00:00 2001 From: eeckert Date: Wed, 6 Dec 2023 23:05:32 +0000 Subject: [PATCH] fixed to use tidy --- Dockerfile.debug | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile.debug b/Dockerfile.debug index 04daa59..715749d 100644 --- a/Dockerfile.debug +++ b/Dockerfile.debug @@ -6,8 +6,9 @@ WORKDIR /app EXPOSE 80 4000 COPY ./main/* ./ -RUN go install github.com/gorilla/mux +RUN go mod tidy ENV GO111MODULE=off RUN CGO_ENABLED=0 go build -gcflags "all=-N -l" -o debug-app . -CMD [ "/go/bin/dlv", "--listen=:4000", "--headless=true", "--log=true", "--accept-multiclient", "--api-version=2", "exec", "/app/debug-app" ] \ No newline at end of file +CMD [ "/go/bin/dlv", "--listen=:4000", "--headless=true", "--log=true", "--accept-multiclient", "--api-version=2", "exec", "/app/debug-app" ] +