New project - Docker can't build
sbbu
PROOP

a year ago

Getting this error for the build immediately, never seen this before:

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

View Deploy details

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

Solved

1 Replies

a year ago

Hello,

When deploying to Railway your cache mounts in the Dockerfile must follow a specific syntax, see our docs on this topic here -

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


Status changed to Awaiting User Response Railway about 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...