You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
how to define/run wasmtime serve command in OCI image. #16
I have followed your steps and it it working fine locally. i can run hello_wasi_http.wasm on my local machine with below command.
wasmtime serve /hello_wasi_http.wasm
I have configured minikube cluster with wasmtime runtime. for normal helloworld below OCI image is working fine.
FROM scratch
ADD hello-wasm.wasm /
CMD ["/hello-wasm.wasm"]
but now i want to build image with http serve. then how can I define docker file with serve?
I'm not sure what the problem is here. Are you able to see the standard error output of wasmtime? It should print a message like "Serving HTTP on http://0.0.0.0:8080/" or so; do you see that?
Activity
sunfishcode commentedon Jul 2, 2024
I'm not sure what the problem is here. Are you able to see the standard error output of wasmtime? It should print a message like "Serving HTTP on http://0.0.0.0:8080/" or so; do you see that?