loretoparisi / fasttext.js

FastText for Node.js
MIT License
192 stars 28 forks source link

ERROR: Cannot install via Docker #9

Closed KangHyeongMin closed 6 years ago

KangHyeongMin commented 6 years ago

Steps to reproduce

  1. Clone project
  2. Build the docker image $ docker build -t fasttext.js .
  3. Run server by docker $ docker run --rm -it -p 3000:3000 fasttext.js node fasttext.js/examples/server.js

Expected behaviour

Server starting on docker with below message

model loaded
server is listening on 3000

Actual behaviour

Fail to start server on docker with below message

events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at _errnoException (util.js:1022:11)
    at WriteWrap.afterWrite [as oncomplete] (net.js:880:14)
loretoparisi commented 6 years ago

@KangHyeongMin I thinks that was the same issue there :)

loretoparisi commented 6 years ago

Thanks! Closed per PR https://github.com/loretoparisi/fasttext.js/pull/10