Relative Content

Tag Archive for pythondockerfastapi

Dockerized POST request taking in an UploadFile never completes

Whenever I try to hit a POST endpoint (running on a Docker instance) that takes in an UploadFile as an argument the request never completes. And yet everything works fine when I run the backend code regularly on my machine. Gen AI suggests that it’s a an issue with Docker configuration or file permissions. I am unsure of where to go from here.