R
Railwayβ€’10mo ago
gabdlr

Cache mount ID is not prefixed with cache key

Having this issue when trying to deploy from dockerfile
12 Replies
Percy
Percyβ€’10mo ago
Project ID: N/A
Brody
Brodyβ€’10mo 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
gabdlrβ€’10mo ago
is this railway specific ?
Brody
Brodyβ€’10mo ago
yes
gabdlr
gabdlrβ€’10mo ago
πŸ™‚ thank you
Brody
Brodyβ€’10mo ago
no problem let me know if you still have troubles
gabdlr
gabdlrβ€’10mo ago
thank you again is there a way to append arguments to docker run command ?
Brody
Brodyβ€’10mo ago
there is not, what would you need to append though?
gabdlr
gabdlrβ€’10mo ago
-p 80:80 😦
Brody
Brodyβ€’10mo ago
not necessary, have your app listen on the environment variable PORT ?
gabdlr
gabdlrβ€’10mo ago
Means im crying angry but happy cause it works
Brody
Brodyβ€’10mo ago
awesome