diff --git a/Dockerfile b/Dockerfile index 4cf4389..9701305 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,6 @@ RUN apt update && apt upgrade -y && \ ADD start.sh /usr/local/bin/ EXPOSE 19132 19132/udp -VOLUME config +VOLUME data CMD [ "/usr/local/bin/start.sh" ] diff --git a/start.sh b/start.sh index 56c5cc3..9e6de97 100755 --- a/start.sh +++ b/start.sh @@ -3,6 +3,6 @@ ## Config files to be located in /config ## -cd /config +cd /data touch /tmp/bedrock.running LD_LIBRARY_PATH=/bedrock /bedrock/bedrock_server