1
Create a Dockerfile
Dockerfile
2
Create a .dockerignore file
Create a .dockerignore file in the root of your project.
.dockerignore
3
Create a docker-compose.yml file
Create a docker-compose.yml file in the root of your project.Optionally, if you want to store user data in a volume, you can add the following:
docker-compose.yml
docker-compose.yml
4
Build and run the container
Build and run the container.