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" ] +