dreamfactorysoftware / df-docker

Docker container for DreamFactory.
59 stars 56 forks source link

Reusable container #22

Closed philicious closed 8 years ago

philicious commented 8 years ago

fixes #13 #11

After some digging I found the actual culprit to be the grep -c.. which made the script exit and therefore the entire container.

I also added cleaning the Apache PID file as seen in many popular Docker images using Apache

The other problem was the APP_KEY being regenerated when rebuilding the image which makes reusing the same external DB impossible. As there are different scenarios where this is not a problem, I made this optional and commented it out by default.

philicious commented 8 years ago

supersedes #18