[BUG] New API returns 404 from docker container
rcholic opened this issue · comments
Describe the bug
I created a new Http Get-based API inside the UsersController.cs and built/run the service in docker container using the provided docker-compose.postgresql.yml
file.
When I test the new API served from docker container, I get 404 response. I suspect the built docker image/container does not have my new code.
btw: build and run the docker image in Ubuntu.
You might have to point the image to your published image. By default, the docker compose files are designed to pull the default image from docker hub, not your actual application code.