import { spawn } from "cross-spawn";
import path from "path";
import process from "process";
import commandExists from "command-exists";

module.exports = function (name) {
  // Check if docker is installed first
  commandExists("docker", function(err, commandExists) {
    if(commandExists) {
      spawn("docker", ["build", "-t", name, "-f", path.join(process.cwd(), "src", "config", ".Dockerfile"), process.cwd()], {stdio: "inherit"});
    } else {
      console.warn("You must install docker before continuing");
    }
  });
};

@@ -129,16 +129,55 @@
 exists%22;
+%0Aimport logger from %22../lib/logger.js%22;
 %0A%0Amodule
@@ -494,15 +494,14 @@
     
-console
+logger
 .war

Add logger for docker warning