This repo contains a dockerfile to build DHIS2 setup container. Alternatively, you can also use the dockerhub to pull the premade container bypassing the build step.
docker pull eppifoss/dhis2-in5320
docker build -t <img_name> ./
docker run --name <name_for_docker_instance> -v <local_volume_absolute_path>:/usr/src/app -p 3000:3000 -p 9999:9999 -it <img_name> /bin/bash
docker exec -it <name_of_docker_instance> /bin/bash
d2 app scripts init myfirstapp
The following command needs to be running on a seperate terminal along side yarn start
npx dhis-portal --target=https://verify.dhis2.org/in5320/