R
Railway17mo ago
Nam

Map $PORT to my dockerfile

I want to deploy a dockerfile on Railway. I have a Dockerfile like this
FROM getmeili/meilisearch:v1.0
FROM getmeili/meilisearch:v1.0
And I ran
railway up
railway up
Now everything worked, but I cannot access my service because by default, it is listening on port 7700. How do I map it to the $PORT env variable, as specified in the doc?
3 Replies
Percy
Percy17mo ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Percy
Percy17mo ago
No project ID was provided. Closing thread.