R
Railwayβ€’16mo ago
gabdlr

Cache mount ID is not prefixed with cache key

Having this issue when trying to deploy from dockerfile
12 Replies
Percy
Percyβ€’16mo ago
Project ID: N/A
Brody
Brodyβ€’16mo ago
the cache id must be prefixed with the correct cache key, this cache key is your service id, for example
--mount=type=cache,id=s/<service_id>-/root/cache/php,target=/root/.cache/php
--mount=type=cache,id=s/<service_id>-/root/cache/php,target=/root/.cache/php
gabdlr
gabdlrOPβ€’16mo ago
is this railway specific ?
Brody
Brodyβ€’16mo ago
yes
gabdlr
gabdlrOPβ€’16mo ago
πŸ™‚ thank you
Brody
Brodyβ€’16mo ago
no problem let me know if you still have troubles
gabdlr
gabdlrOPβ€’16mo ago
thank you again is there a way to append arguments to docker run command ?
Brody
Brodyβ€’16mo ago
there is not, what would you need to append though?
gabdlr
gabdlrOPβ€’16mo ago
-p 80:80 😦
Brody
Brodyβ€’16mo ago
not necessary, have your app listen on the environment variable PORT ?
gabdlr
gabdlrOPβ€’16mo ago
Means im crying angry but happy cause it works
Brody
Brodyβ€’16mo ago
awesome
Want results from more Discord servers?
Add your server