For a long time, this was the pivot point between a microcontroller and a bigger machine: Does it need to run an OS?
I've had a couple of RPI's running as home file servers for well over a decade with the only reboots being due to power failures. But today, the cost sensitive option would be a refurbished mini-PC.