go - Running goconvey http server from within a docker container -


i'm using docker containers of golang web service projects , part of development workflow using goconvey fast tdd feedback. i'd spin within docker container , expose port host machine can point web browser , coding.

we have compiled goconvey binary , have popped in /usr/local/bin problem whenever connect port exposed form docker container "404 page not found" errors.

there few tweaks have out gopath i'm vendoring libs eg gopath=/proj-dir/vendor , code dev happening in /src

i can goconvey working nicely on host in docker i'm stumped. 404 suggest i'm hitting goconvey server not serve anything?

any assistance appreciated.

the goconvey server returns 404 when cannot find directory contains static resources.
location of directory depends on go stored goconvey files, in

$gopath/src/github.com/smartystreets/goconvey 

so in docker container, ensure goconvey installed using current $gopath value, , verify /goconvey dir contains /web/client/... subdirectories, html, css, , js files web ui reside.

(to test this, renamed client dir, caused goconvey return plain 404 message.)


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -