Someone needs to drop files on your server, but should not get a shell or see the rest of the system. sshd can do that on its own, no FTP server needed.
At the end of /etc/ssh/sshd_config:
Match Group sftponly
ChrootDirectory /srv/sftp/%u
ForceCommand internal-sftp
DisableForwarding yes
Members of the group sftponly get locked into their own folder. internal-sftp is the SFTP server built into sshd, so the chroot needs no copies of programs or libraries. DisableForwarding closes the tunnels, which ForceCommand alone does not block.
The part I’d watch most closely is ownership. The man page says every folder in the chroot path must be owned by root and not writable by group or others. So the user cannot write in the top folder itself; give them a subfolder:
sudo mkdir -p /srv/sftp/alice/upload
sudo chown root:root /srv/sftp/alice
sudo chmod 755 /srv/sftp/alice
sudo chown alice: /srv/sftp/alice/upload
If the ownership is wrong, the login fails with a vague disconnect on the client and a bad ownership or modes for chroot directory line in the server log. Check with sshd -t and restart, and test the account from another terminal before you log out.
Further reading: sshd_config man page