TrimAgency / htcht

The internal development CLI for Trim Agency
MIT License
3 stars 1 forks source link

Properly setup a docker ignore file #10

Closed stevetwitte closed 7 years ago

stevetwitte commented 7 years ago

We should be able to tell Docker to ignore the server.pid file and not have to delete it every time we run the server...

rm -f tmp/pids/server.pid && rails s -p 3000 -b 0.0.0.0

stevetwitte commented 7 years ago

I am going to close this after reading the following article.

https://github.com/docker/compose/issues/1393

It seems reasonable that we should have to handle cleanup of the server.pid, so deleting it in this way seems to be fine.