Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/docs/guides/dockerfiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Railway supports cache mounts in your Dockerfile in the following format:
--mount=type=cache,id=s/<service id>-<target path>,target=<target path>
```

Replace `<service id>` with the id of the service.
Replace `<service id>` with the id of the service. You can copy the Railway Service ID from the command pallet when you have a service open, `cmd / ctrl + k` -> `Copy Service ID`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image I feel like this is a bit packed in this "single instruction" sentence. Is there a better way to add this/reference?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace <service id> with the Railway Service ID, found by pressing cmd / ctrl + k and selecting Copy Service ID.

?


<Banner variant="info">
Environment variables can't be used in cache mount IDs, since that is invalid syntax.
Expand Down