From e65117d7d4d0f932eb2b612e65ebd51360adf4e3 Mon Sep 17 00:00:00 2001 From: RemcoSpigot <106870142+RemcoSpigot@users.noreply.github.com> Date: Wed, 8 Jun 2022 00:31:49 +0200 Subject: [PATCH] Move Master JAR outside of work (data) directory (#4) --- CHANGELOG.md | 4 ++++ Dockerfile.master | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc3adde..3da4a72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.2] - 2022-06-07 +### Changed +- Move Master JAR outside of work (data) directory (#4) + ## [0.1.1] - 2022-06-05 ### Added - CHANGELOG.md diff --git a/Dockerfile.master b/Dockerfile.master index ea8b78a..634b1c4 100644 --- a/Dockerfile.master +++ b/Dockerfile.master @@ -13,7 +13,9 @@ WORKDIR /multipaper USER multipaper ADD --chown=multipaper:multipaper https://multipaper.io/api/v2/projects/multipaper/versions/$MULTIPAPER_VERSION/builds/$MULTIPAPER_BUILD/downloads/MultiPaper-Master-$MASTER_VERSION-all.jar multipaper-master.jar -EXPOSE 35353/tcp -EXPOSE 25565/tcp +CMD ["java", "-jar", "/multipaper/multipaper-master.jar"] + +WORKDIR /multipaper/data -CMD ["java", "-jar", "multipaper-master.jar"] \ No newline at end of file +EXPOSE 35353/tcp +EXPOSE 25565/tcp \ No newline at end of file