Infinite deploy

I'm trying to deploy a golang project using dockerfile

FROM golang:alpine as build

WORKDIR /src/app
COPY . .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /bin/app cmd/main.go

FROM gcr.io/distroless/static-debian11

COPY --from=build /bin/app /
EXPOSE 8080
CMD ["/app"]

That is not a big build (just 17mb using distroless debian image), but is not ending.
It keeps Creating container status.

0 Replies

954065b8-9cbc-4421-8017-713f7c9a5013


brody
EMPLOYEE

a year ago

the team is actively working on improving this experience


any way to check the deploy logs?

1261033976559173600


brody
EMPLOYEE

a year ago

has the deployment went through?


nah, its in infinite loop yet


i will try create the deploy using railway.toml + dockerfile


brody
EMPLOYEE

a year ago

there wouldnt be any deployment logs without the deployment going through


brody
EMPLOYEE

a year ago

that would not solve anything


😢 dammn


brody
EMPLOYEE

a year ago

this issue affects all deployments regardless of how they are built or where they are deployed from


brody
EMPLOYEE

a year ago

the most you can do is to cancel it and try again


yeah, i made it work using nixpacks.toml searching about a golang template, thanks

1261039791039058200


brody
EMPLOYEE

a year ago

please keep in mind that it works because you re-deployed, not because you now have a nixpacks.toml


yeah, i know, but for the moment it's working (urgently)
i keep the dockerfile but renamed to a random file, like docker-file.txt to use in the future


and thanks for your help!


Loading...