Updates entrypoint

This commit is contained in:
Hyatt 2021-12-09 09:52:57 -06:00
parent 3d1903fc54
commit 18767d8efa
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -105,7 +105,8 @@ USER minecraft
WORKDIR /minecraft/data
CMD ["../paper-mc.jar", "-Xms${memoryMin}", "-Xmx${memoryMax}"]
ENTRYPOINT ["/usr/bin/java", "-Xms${memoryMin}", "-Xmx${memoryMax}", "-jar"]
CMD ["../paper-mc.jar"]
"""
writeFile(file: workspace + '/Dockerfile', text: dockerFile)
}