Updates entrypoint
This commit is contained in:
parent
3d1903fc54
commit
18767d8efa
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user