Create the app on dokku.
dokku apps:create j
Get Jenkins docker image
docker pull jenkins/jenkins:lts-jdk11
Tag the pulled image as the current application image
docker tag jenkins/jenkins:lts-jdk11 dokku/j:latest
Deploy the tagged image to the application
dokku tags:deploy j latest
Map the exposed port 8080 from Jenkins to 80 port
dokku proxy:set j http:80:8080
dokku proxy:ports-add j 80:8080
Optional, create a mount point for the whole jenkins configurations.
dokku storage:mount j /home/sneakykoder/jenkins_home:/var/jenkins_home
