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

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

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