Updated Fabric & some other stuff
This commit is contained in:
parent
67af9ed723
commit
2f9490cef6
8 changed files with 116 additions and 160 deletions
|
|
@ -43,11 +43,11 @@ end of the `Dockerfile` to the following:
|
|||
|
||||
```
|
||||
ENTRYPOINT java \
|
||||
-Xms"${XMS}G" \
|
||||
-Xmx"${XMX:-$XMS}G" \
|
||||
-jar /app/server.jar \
|
||||
--universe /app/worlds \
|
||||
--nogui
|
||||
-Xms"${XMS:-$XMX}G" \
|
||||
-Xmx"${XMX}G" \
|
||||
-jar /app/server.jar \
|
||||
--universe /app/worlds \
|
||||
--nogui
|
||||
```
|
||||
|
||||
This will only use the flags absolutely necessary, while still allowing you to
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ echo "${MC_VERSION}, PaperMC v${PAPERMC_VERSION}" >> /app/config/versions.txt
|
|||
XMS="${XMS:-$XMX}"
|
||||
|
||||
# Launch the actual server
|
||||
java \
|
||||
exec java \
|
||||
-Xms"${XMS}G" \
|
||||
-Xmx"${XMX:-$XMS}G" \
|
||||
-XX:+UseG1GC \
|
||||
|
|
|
|||
Reference in a new issue