The Bun.file() function accepts a path and returns a BunFile instance. Use the .delete() method to delete the file.
Deploy a Bun application on Railway
Deploy a Bun application to Railway from the CLI or dashboard, with optional PostgreSQL setup and automatic SSL