diff --git a/Dockerfile b/Dockerfile index 35c1573..62ceda6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,5 +26,7 @@ ENV USER=root ADD entrypoint.sh /entrypoint.sh +EXPOSE 9999/tcp + ENTRYPOINT ["/entrypoint.sh"] CMD ["slmix"] diff --git a/entrypoint.sh b/entrypoint.sh index 4012d24..5550466 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,7 +27,7 @@ mix_token_guests $TOKENGUEST # invite url mix_token_api $TOKENAPI # api token #mix_path /opt/slmix/ EOF - /opt/mix/build/slmix -c /opt/mix/config "$@" + /opt/mix/build/slmix -c /opt/mix/config "$@" -l 0.0.0.0 else exec "$@" fi