Skip to content

Commit

Permalink
gave Java more heap memory, and sync the time with the docker host
Browse files Browse the repository at this point in the history
  • Loading branch information
Cornul11 committed Jul 3, 2023
1 parent 715ded3 commit 167efb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile-app
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ 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
ENV TZ=Europe/Amsterdam
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}
3 changes: 2 additions & 1 deletion Dockerfile-db
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# latest should not be used as more recent versions are incompatible with older docker versions
FROM mariadb:10.7
EXPOSE 3306
EXPOSE 3306
ENV TZ=Europe/Amsterdam

0 comments on commit 167efb9

Please sign in to comment.