Commit fa018a23 authored by mohamad's avatar mohamad

Trying to Dockerize the Project >>> Trying

parent 4297c938
FROM openjdk:17
COPY ./target/ /tmp
WORKDIR /tmp
ENTRYPOINT ["java","classes/runners/Main.class"]
\ No newline at end of file
...@@ -9,7 +9,7 @@ public class Main { ...@@ -9,7 +9,7 @@ public class Main {
public static void main(String[] args) { public static void main(String[] args) {
System.out.println("Hello world!"); System.out.println("Hello world!");
IPrimeNumbersExtractor extractor = new ParallelPrimeNumbersExtractor(4); IPrimeNumbersExtractor extractor = new ParallelPrimeNumbersExtractor(4);
Collection<Integer> collection = extractor.extract(0,1000000000); Collection<Integer> collection = extractor.extract(0,100000);
// for (Integer i : collection) { // for (Integer i : collection) {
// System.out.println(i); // System.out.println(i);
// } // }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment