I am a docker newbie. I am trying to run a java class in the container.
My main class is depending on a local jar. Am able to add the jar to the docker image
and able set the jar in the classpath.

But still, when run the container it fails with "Exception in thread "main" java.lang.NoClassDefFoundError"

**My Dockerfile**

```
FROM java:8

WORKDIR /

ADD Test.jar Test.jar

ADD Dependant.jar Dependant.jar

RUN mkdir /usr/myjars

COPY /Dependant.jar /usr/myjars/Dependant.jar

ENV CLASSPATH .:/usr/myjars/Dependant.jar

RUN export CLASSPATH=.:/usr/myjars/Dependant.jar

CMD ["java",  "-jar", "Test.jar"]

```

**Please help me to identify issue**