How to add Angular project image as a service in docker-compose file

  angular, docker

I write Dockerfile with a .dockerignore file. I build an image and it can be run in a container.

enter image description here

Now I want to run it as a service in the docker-compose.yml file. Can you give a script of the content I should put in the docker-compose.yml file?

Source: Docker Questions

LEAVE A COMMENT