Copy files to a Docker container
Useful in developer workflows
$ npm install --save-dev gulp-docker-dest
var gulp = require('gulp');
var gutil = require('gulp-util');
var dockerdest = require('gulp-docker-dest');
gulp.task('default', function () {
return gulp.src('src/*')
.pipe(dockerdest({
remotePath: '/var/www/html'
}));
});
Type: string
Default: ''
The remote path to copy to.
Nonexistent directories will be created for you.
MIT © Sindre Sorhus