diff --git a/testsDockerfile b/testsDockerfile index 5cc9f1a..a79e1b1 100644 --- a/testsDockerfile +++ b/testsDockerfile @@ -2,8 +2,6 @@ FROM gitea.pena/penadevops/container-images/golang:main WORKDIR /app COPY . . RUN go mod download - -RUN apk add --no-cache tzdata curl catatonit -ENTRYPOINT ["/sbin/catatonit", "--"] +RUN apk add tzdata curl CMD go run ./cmd/main.go & sleep 30 && go test ./tests && kill %1