docker-slim failing to include dependencies #333
Replies: 1 comment
-
Is it supposed to be possible to run One thing to try is the --exec-file parameter. Try creating a shell script that calls seldon-core-microservice and point the --exec-file to that file. If it doesn't work as-is try setting What do the ENTRYPOINT and CMD instructions look like in your Dockerfile, by the way? What kind of microservice do you have? Is it an HTTP service? What kind of framework do you use? Flask? Django? |
Beta Was this translation helpful? Give feedback.
-
hi folks. I'm new to docker-slim and trying to minify a python app, but I can't seem to get the necessary dependencies to execute the container's entrypoint.
I'm having trouble using the http probing, so I thought that including the entrypoint as a --exec command would help docker-slim to find the dependencies for it. Is that not the case? Obviously it hasn't worked for me yet.
Here's my command and output
docker-slim build --target model:local --http-probe-off --exec "seldon-core-microservice"
what am I missing here?
docker-slim version darwin|Transformer|1.37.5|latest|latest
Beta Was this translation helpful? Give feedback.
All reactions