Skip to content

Commit

Permalink
improve some lando4 service things part 5
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed May 25, 2024
1 parent 2617a7a commit 973b9f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions builders/lando-v4.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,8 @@ module.exports = {
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
`});

// inject global npmrc if we can

// add a home folder persistent mount
this.addComposeData({volumes: {[this.homevol]: {external: true}}});
this.addComposeData({volumes: {[this.homevol]: {}}});
// add the usual DC stuff
this.addServiceData({user: config.user ?? this.username, volumes: [`${this.homevol}:/home/${this.username}`]});
// add build vols
Expand All @@ -158,7 +156,7 @@ module.exports = {
async buildApp() {
// bail if no script
if (!this.buildScript) {
this.debug('no build detected, skipping');
this.debug(`no build detected for ${this.id}, skipping`);
return;
};

Expand Down

0 comments on commit 973b9f6

Please sign in to comment.