2016-07-18 18:48:34 +00:00
|
|
|
import * as plugins from "./npmdocker.plugins";
|
|
|
|
|
2016-07-19 17:21:06 +00:00
|
|
|
// directories
|
|
|
|
export let cwd = process.cwd();
|
2016-07-28 22:52:30 +00:00
|
|
|
export let packageBase = plugins.path.join(__dirname, "../");
|
|
|
|
export let assets = plugins.path.join(packageBase, "assets/");
|
2016-07-19 00:03:54 +00:00
|
|
|
plugins.smartfile.fs.ensureDirSync(assets);
|
2016-07-28 22:52:30 +00:00
|
|
|
|
|
|
|
export let buildContextDir = plugins.path.join(assets,"buildContextDir");
|
|
|
|
plugins.smartfile.fs.ensureDirSync(buildContextDir);
|
|
|
|
|
|
|
|
// files
|
|
|
|
export let dockerfile = plugins.path.join(assets, "Dockerfile");
|