fixed to use tidy
This commit is contained in:
parent
360ccfe50b
commit
4647bfce1b
@ -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" ]
|
||||
CMD [ "/go/bin/dlv", "--listen=:4000", "--headless=true", "--log=true", "--accept-multiclient", "--api-version=2", "exec", "/app/debug-app" ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user