UNPKG

simple-dockerfile

Version:

Simple dockerfile for building node.js applications

8 lines (6 loc) 296 B
#!/usr/bin/env node const fs = require('fs-extra'); const path = require('path'); var currentPath = process.cwd(); fs.copySync(path.join(__dirname, '..', 'Dockerfile'), path.join(currentPath, 'Dockerfile')); fs.copySync(path.join(__dirname, '..', 'Aptfile'), path.join(currentPath, 'Aptfile'));