Skip to content

Commit c7f4fa5

Browse files
moved docker submodule fixed docker from version
1 parent d1ca75d commit c7f4fa5

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[submodule "angular-fullstack-deps"]
22
path = angular-fullstack-deps
33
url = [email protected]:angular-fullstack/angular-fullstack-deps.git
4-
[submodule "ci/angular-fullstack-dockerfile"]
5-
path = ci/angular-fullstack-dockerfile
4+
[submodule "angular-fullstack-dockerfile"]
5+
path = angular-fullstack-dockerfile
66
url = [email protected]:angular-fullstack/angular-fullstack-dockerfile.git

angular-fullstack-dockerfile

ci/angular-fullstack-dockerfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/generators/docker/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,15 @@ var Generator = module.exports = function Generator() {
1515
util.inherits(Generator, yeoman.generators.NamedBase);
1616

1717
Generator.prototype.copyDockerfile = function copyDockerfile() {
18-
if(this.abort) return;
1918
var done = this.async();
2019
this.log(chalk.bold('Creating Dockerfile'));
21-
//this.copy('Dockerfile', 'dist/Dockerfile');
22-
this.fs.copyTpl(this.templatePath('_Dockerfile'), 'dist/Dockerfile', {});
20+
this.fs.copyTpl(this.templatePath('_Dockerfile'), 'dist/Dockerfile', this );
2321
this.conflicter.resolve(function (err) {
2422
done();
2523
});
2624
};
2725

2826
Generator.prototype.gruntBuild = function gruntBuild() {
29-
if(this.abort) return;
3027
var done = this.async();
3128

3229
this.log(chalk.bold('\nBuilding dist folder, please wait...'));
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
FROM generatorangularfullstack/angular-fullstack-dist:3.3.0
1+
FROM generatorangularfullstack/angular-fullstack-dist:<%= rootGeneratorVersion() %>
22

0 commit comments

Comments
 (0)