Running docker comand on server doesn’t work

  docker, docker-compose, typescript

I am currently working on a new project. I need an api that runs with Docker from Github ( only i have a problem, it doesn’t work.

when I execute this command, the server works for 4 seconds and then it terminates

docker run –name r6-api -e EMAIL=EMAIL -e PASSWORD=PASSWORD -e PORT=3000 -p 3000:3000 -d pololacoste/r6-api

can anyone help me?

it’s best someone explain me the steps to setup, because i don’t know docker that much.

Source: Docker Questions