瀏覽代碼

Always pull image on app start

DireMunchkin 1 年之前
父節點
當前提交
5d2d8e7b9c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/cli/src/executors/app/app.executors.ts

+ 1 - 1
packages/cli/src/executors/app/app.executors.ts

@@ -176,7 +176,7 @@ export class AppExecutors {
       this.logger.info(`Regenerating app.env file for app ${appId}`);
       await this.ensureAppDir(appId);
       await generateEnvFile(appId, config);
-      await compose(appId, 'up --detach --force-recreate --remove-orphans');
+      await compose(appId, 'up --detach --force-recreate --remove-orphans --pull always');
 
       this.logger.info(`App ${appId} started`);