codeamp / circuit

CodeAmp API. Built with Golang, GraphQL, GORM and Socket-IO
Apache License 2.0
21 stars 6 forks source link

Use default docker entrypoint if command is not specified #424

Closed drshrey closed 5 years ago

drshrey commented 5 years ago

Currently, we always override the command for running a docker container with the CodeAmp service command. However, if there is no command specified in the CodeAmp service, we should use the Dockerfile's specified entrypoint. It is not intuitive that you must always explicitly set a command if one has already been set in the Dockerfile.