Skip to content

Commit 223b962

Browse files
committed
feat: updated docker file to use file instead of IPC for communication
1 parent 225487a commit 223b962

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ ENV FUNCTION_COMMAND="python"
3131
# Args to start the evaluation function with
3232
ENV FUNCTION_ARGS="-m,evaluation_function.main"
3333

34-
# The transport to use for the RPC server
35-
ENV FUNCTION_RPC_TRANSPORT="ipc"
34+
# # The transport to use for the RPC server
35+
# ENV FUNCTION_RPC_TRANSPORT="ipc"
36+
37+
# Use file-based communication interface instead of RPC
38+
# This handles larger payloads better (shimmy writes input to file, reads output from file)
39+
# shimmy will append input/output file paths as the last two arguments
40+
ENV FUNCTION_INTERFACE="file"
3641

3742
ENV LOG_LEVEL="debug"

0 commit comments

Comments
 (0)