cespare / reflex

Run a command when files change
MIT License
3.38k stars 136 forks source link

executable file not found in $PATH #96

Closed UIT-AnhTu-0325 closed 1 year ago

UIT-AnhTu-0325 commented 1 year ago

I have add line RUN go get github.com/cespare/reflex to Dockerfile image After that, i use command command: reflex -r "\.go$$" -s -- sh -c "go run ./" in docker-compose.yml image

But when I run docker-compose up --build there are an error when running the command Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "reflex": executable file not found in $PATH: unknown image

I'm using Window 10 and Go 1.20

Can someone check it for me pls, thanks!

NoFacePeace commented 1 year ago

感谢您的来信,我尽快回复您!

cespare commented 1 year ago

Sorry, but this seems like a docker/docker-compose issue; nothing to do with reflex as far as I can see.