Skip to content

Commit

Permalink
Invalid key exception fix
Browse files Browse the repository at this point in the history
- added disable token auth parameter to the start command, thanks to @z1ouhan
  • Loading branch information
frnzee committed Jul 30, 2024
1 parent 981283a commit eefc9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchserve/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit eefc9a0

Please sign in to comment.