Dockerfile COPY failed, file not found
canastro
HOBBYOP

a year ago

I have the following file structure:

/infra/railway/tempo
/infra/railway/tempo/tempo.yaml
/infra/railway/tempo/Dockerfile  

This is the contents of the Dockerfile

FROM grafana/tempo:latest
COPY ./infra/railway/tempo/tempo.yaml /etc/tempo.yaml
EXPOSE 3200 14268 9095 4317 4318 9411
CMD ["-config.file=/etc/tempo.yaml"]

I have a service on railway with the following env var:

RAILWAY_DOCKERFILE_PATH=infra/railway/tempo/Dockerfile

And I'm getting the following error:

[2/2] COPY ./infra/railway/tempo/tempo.yaml /etc/tempo.yaml
failed to calculate checksum of ref 9aadf9f050e3a8w0jm14bepl0::3ghgocjaf0a758ca02tdhyfg8: "/infra/railway/tempo/tempo.yaml": not found

I haven't played with this project for quite a while, this was working previously. Not sure what might have changed.

Project id: 28fb16ab-96f2-4c97-a9fe-a70ac8d2d11f

Solved

10 Replies

a year ago

Hello,

Are you able to provide a repo that can reproduce this behaviour?


canastro
HOBBYOP

a year ago

I can give you access to mine if that helps


a year ago

a public repo would be best


canastro
HOBBYOP

a year ago

I'll have to try to create one then, I'll get back to you when I'm able to do that


a year ago

sounds good!


canastro
HOBBYOP

a year ago

I copied the infra folder to a new public project and all worked as expected... in my private project, still failing 😯


a year ago

I'm sorry but we would need some kind of reproducible example that we can run ourselves


canastro
HOBBYOP

a year ago

no worries, from the time being I'll just use this new repo for my infra


a year ago

sounds good


a year ago

!s


Status changed to Solved brody about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...