Added missing imagick dependency that was required for a gem
Moved Rails environment from a hard-coding in the Dockerfile to be external to allow for Docker to host other environments