# Deploying an Uberjar to Dokku

DevFeed: [Deploying an Uberjar to Dokku](<https://devfeed.tech/articles/deploying-an-uberjar-to-dokku-27453.md>)

Original publisher: [Read original article](<https://ariya.io/2023/02/deploying-an-uberjar-to-dokku/>)

Published: 2023-02-23T19:37:36Z

Content type: tutorial

Language: en

Sources: [Ariya Hidayat](<https://devfeed.tech/sources/ariya-hidayat.md>)

Topics: [Deployment](<https://devfeed.tech/topics/deployment.md>), [Platform as a Service (PaaS)](<https://devfeed.tech/topics/platform-as-a-service-paas.md>), [Self-hosted](<https://devfeed.tech/topics/self-hosted.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Java](<https://devfeed.tech/topics/java.md>), [openjdk](<https://devfeed.tech/topics/openjdk.md>)

Tags: [adoptium](<https://devfeed.tech/tags/adoptium.md>), [containers](<https://devfeed.tech/tags/containers.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [java](<https://devfeed.tech/tags/java.md>), [linux](<https://devfeed.tech/tags/linux.md>), [openjdk](<https://devfeed.tech/tags/openjdk.md>), [paas-solutions](<https://devfeed.tech/tags/paas-solutions.md>), [scala](<https://devfeed.tech/tags/scala.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>)

## AI overview

This tutorial explains how to deploy a Java Uberjar to Dokku by sending the packaged artifact directly instead of creating a container image. It covers the required application files, packaging, Dokku application setup, and an OpenJDK 17 base image example using Metabase.

## Source excerpt

Dokku is a self-hosted Platform-as-a-Service (PaaS) that offers a compelling alternative to popular PaaS solutions like Heroku. With built-in support for Linux containers, deploying an application on Dokku is straightforward. However, there is a lesser-known deployment method that involves sending a build artifact, such as a JAR package for Java apps, directly to Dokku.