Can't build from Dockerfile

a year ago

Getting this repeated error on my Dockerfile:

[Region: us-west1]

Dec 01 22:06:23

Cache mounts MUST be in the format --mount=type=cache,id=<cache-id>

level:"info"

But only with Railway, no other hosts have this issue?

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

1 Replies

a year ago

Hello,

Please see our docs on this topic -

https://docs.railway.com/guides/dockerfiles#cache-mounts

But please know we only support mount=type=cache so bind mounts wont work.

Hope this helps!


Status changed to Awaiting User Response Railway over 1 year ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...