What is the name of your application container in your docker-compose? because I don't see any service that might be your application. if you want to create a docker image before start a container, you need to write your container configuration in your docker-compose, below is an example for golang application. I assume uwsgi,celery_worker,nginx,and redis is not your application.
version: '3'
services:
# before this service you can add your dependencies like celery, redis, uwsgi
asgpractice:
container_name: asgpractice
build:
context: .
dockerfile: ./Dockerfile
image: asgpractice
ports:
- 3000:3000