2 years ago
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.
15 Replies
2 years ago
954065b8-9cbc-4421-8017-713f7c9a5013
2 years ago
the team is actively working on improving this experience
2 years ago
any way to check the deploy logs?

2 years ago
has the deployment went through?
2 years ago
nah, its in infinite loop yet
2 years ago
i will try create the deploy using railway.toml + dockerfile
2 years ago
there wouldnt be any deployment logs without the deployment going through
2 years ago
that would not solve anything
2 years ago
😢 dammn
2 years ago
this issue affects all deployments regardless of how they are built or where they are deployed from
2 years ago
the most you can do is to cancel it and try again
2 years ago
yeah, i made it work using nixpacks.toml searching about a golang template, thanks

2 years ago
please keep in mind that it works because you re-deployed, not because you now have a nixpacks.toml
2 years ago
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
2 years ago
and thanks for your help!