From eefc9a0d8c344d68bbd0e2f6f8249bd0ed627844 Mon Sep 17 00:00:00 2001 From: Bulat Ablaev Date: Tue, 30 Jul 2024 05:49:51 +0200 Subject: [PATCH] Invalid key exception fix - added disable token auth parameter to the start command, thanks to @z1ouhan --- torchserve/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchserve/Dockerfile b/torchserve/Dockerfile index 22dc5b44..886010d5 100644 --- a/torchserve/Dockerfile +++ b/torchserve/Dockerfile @@ -43,4 +43,4 @@ RUN wget https://github.com/facebookresearch/AnimatedDrawings/releases/download/ COPY config.properties /home/torchserve/config.properties # starting command -CMD /opt/conda/bin/torchserve --start --ts-config /home/torchserve/config.properties && sleep infinity +CMD /opt/conda/bin/torchserve --start --disable-token-auth --ts-config /home/torchserve/config.properties && sleep infinity