Help porting docker run to compose

I’m trying to Port a docker run command to a compose file.

This is the command bellow. I’m having trouble with the command to run ‘node server.js’. I’ve tried various paths but can’t get it to work.

docker run -d -p 3000:3000 -v /path/to/share:/path/to/share -w /src furier/websync node server.js

Can anyone help point me in the right direction?

Got it working with the following

Command:

  • node
  • server.js