Add railway.json config and update Dockerfile entrypoint to run migrations before starting the server.