#Dockerfile COPY failed, file not found

12 messages · Page 1 of 1 (latest)

dense jewel
#

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

dreamy mountainBOT
#

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

jolly glade
#

Hello,

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

dense jewel
#

I can give you access to mine if that helps

jolly glade
#

a public repo would be best

dense jewel
#

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

jolly glade
#

sounds good!

dense jewel
#

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

jolly glade
#

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

dense jewel
#

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

jolly glade
#

sounds good

jolly glade
#

!s