modified: Dockerfile

modified:   Jenkinsfile
Updated to use config volume
This commit is contained in:
Jonathan Ervine
2020-04-07 09:59:33 +08:00
parent 2d23705152
commit b0c1d98107
2 changed files with 6 additions and 2 deletions
+3 -2
View File
@@ -8,6 +8,7 @@ RUN apt update && apt upgrade -y
RUN apt install unzip curl -y
RUN mkdir /bedrock && cd /bedrock && curl -LO https://minecraft.azureedge.net/bin-linux/bedrock-server-1.14.32.1.zip && unzip bedrock-server-1.14.32.1.zip && rm bedrock-server-1.14.32.1.zip
EXPOSE 19132
EXPOSE 19133
VOLUME config
CMD [ "/bedrock/bedrock-server" ]
CMD [ "/bedrock/bedrock-server", "--data=/config" ]