Mount Type Cache in Dockerfile
Hi Railway, I tried to use this dockerfile but it's refusing to build because it says that I need to specfiy an ID for the cache mount. I added the ID but then docker couldn't find the ID. This dockerfile built just fine locally but I couldn't get it to work in Railway. I thought about adding a volume but it seems that the option to add a volume is not there anymore.
4 Replies
Project ID:
56943544-81c5-486d-8741-d8cca3f88ed1
56943544-81c5-486d-8741-d8cca3f88ed1
the id it wants is your service id, there's a very strict format you must use, my recommendation would be to use nixpacks to build your app since this doesn't look like something nixpacks couldn't do
Right, ok I'll try n give it a go, thanks @Brody