Commit 213505f5 authored by Tomasz Walkowiak's avatar Tomasz Walkowiak

Update Dockerfile

parent 5bf6ac97
Pipeline #262 passed with stage
in 1 minute and 52 seconds
......@@ -5,11 +5,7 @@ LABEL description="Client - Workers - converting any files into txt format"
LABEL organiztation="NLP Tools for Polish from G4.19 Group - Wroclaw University of Science and Technology"
LABEL maintainer=""
WORKDIR /home/install
RUN git clone && \
cd nlp.worker && \
mvn clean && \
mvn install
WORKDIR /home/install
COPY ./module ./module
......@@ -22,3 +18,5 @@ FROM clarinpl/openjdk-jre:8
WORKDIR /home/worker
COPY --from=builder /home/install/module/target/nlp.worker.converter.jar .
CMD ["java", "-jar", "nlp.worker.converter.jar"]
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