I have Dockerfile with this text:
FROM java:8 COPY . /var/www/java WORKDIR /var/www/java RUN javac Sample.java CMD ["java", "Sample"]
I am ok to build this Dockerfile and to run that image.
But I do not want to run just one Sample.java file. I want to run whole eclipse java project. I copy eclipse project folder to docker container. Like that:
COPY /Project /
My project exists in the Project folder. And I cannot run that project. How can I do? You can look my eclipse java project from this link