diff --git a/internal/test/e2e/gin/Dockerfile b/internal/test/e2e/gin/Dockerfile index b31751254..5570092ee 100644 --- a/internal/test/e2e/gin/Dockerfile +++ b/internal/test/e2e/gin/Dockerfile @@ -1,4 +1,8 @@ FROM golang:1.21 -WORKDIR /sample-app + +WORKDIR /usr/src/app + COPY . . -RUN go build -o main +RUN go mod init app && go mod tidy && go build -v -o /usr/local/bin/app ./... + +CMD ["app"]