nrocco / bookmarks

Personal zero-touch bookmarking app in the cloud, with full text search support.
Apache License 2.0
26 stars 6 forks source link

Docker exits #18

Closed dmhendricks closed 5 years ago

dmhendricks commented 5 years ago

When I run it as a docker container, it exits right away, only displaying the help text:

$ docker run -p 3000:3000 nrocco/bookmarks
Personal zero-touch bookmarking app in the cloud, with full text search support.

Usage:
  bookmarks [command]

Available Commands:
  help          Help about any command
...

What can I do to get this running as a Docker container rather than a CLI?

Thank you, Daniel

nrocco commented 5 years ago

Hi,

Try the server subcommand:

docker run -p 3000:3000 nrocco/bookmarks bookmarks server

I will see if I can make this the default CMD in the Dockerfile

nrocco commented 5 years ago

I created a PR. Closing this issue.