Skip to content

Commit

Permalink
to avoid running out of memory
Browse files Browse the repository at this point in the history
  • Loading branch information
Cornul11 committed Jul 3, 2023
1 parent f03e3bf commit 715ded3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile-app
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ FROM openjdk:17-slim
WORKDIR /usr/src/app
COPY --from=build /usr/src/app/target/thesis-1.0-SNAPSHOT.jar /usr/src/app
COPY --from=build /usr/src/app/target/dependency /usr/src/app/libs
ENTRYPOINT java -cp /usr/src/app/libs/*:/usr/src/app/thesis-1.0-SNAPSHOT.jar nl.tudelft.cornul11.thesis.MainApp -m CORPUS_GEN_MODE -d ${DIRECTORY}
ENTRYPOINT java -Xmx8g -cp /usr/src/app/libs/*:/usr/src/app/thesis-1.0-SNAPSHOT.jar nl.tudelft.cornul11.thesis.MainApp -m CORPUS_GEN_MODE -d ${DIRECTORY}

0 comments on commit 715ded3

Please sign in to comment.