Yes, if an additional
.jar is needed in your image you’ll probably add a
COPY to it as per usual Docker best practices.
And then within the image of course the
.jar has to be on the Java classpath, but I guess you already have that part figured out with what you already got running outside Docker.