From 1dfdff4a9e04684de4172f0264a06f288f0d6fb1 Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Tue, 30 Aug 2022 12:36:25 -0400 Subject: [PATCH] Speed up image build when UI is pre-built on host --- .dockerignore | 1 - Makefile | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 57b3e57461..96f81bce74 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,2 @@ -awx/ui/node_modules Dockerfile .git diff --git a/Makefile b/Makefile index 40c82375e9..ac6c50dd4b 100644 --- a/Makefile +++ b/Makefile @@ -381,7 +381,8 @@ clean-ui: awx/ui/node_modules: NODE_OPTIONS=--max-old-space-size=6144 $(NPM_BIN) --prefix awx/ui --loglevel warn ci -$(UI_BUILD_FLAG_FILE): awx/ui/node_modules +$(UI_BUILD_FLAG_FILE): + $(MAKE) awx/ui/node_modules $(PYTHON) tools/scripts/compilemessages.py $(NPM_BIN) --prefix awx/ui --loglevel warn run compile-strings $(NPM_BIN) --prefix awx/ui --loglevel warn run build