diff --git a/Makefile b/Makefile index f0c51c5e4..9c0769e3a 100644 --- a/Makefile +++ b/Makefile @@ -67,6 +67,7 @@ generate-version-file: ## Generates the app version file .PHONY: build build: dependencies generate-version-file ## Build project + ./venv/bin/pip-accel wheel --wheel-dir=wheelhouse -r requirements.txt npm run build .PHONY: build-codedeploy-artifact diff --git a/docker/Dockerfile-build b/docker/Dockerfile-build index 105f1fdca..49a36e251 100644 --- a/docker/Dockerfile-build +++ b/docker/Dockerfile-build @@ -31,6 +31,7 @@ RUN \ echo "Install global pip packages" \ && pip install \ virtualenv \ - awscli + awscli \ + wheel WORKDIR /var/project diff --git a/scripts/aws_install_dependencies.sh b/scripts/aws_install_dependencies.sh index e5988d7b2..c2c658c99 100755 --- a/scripts/aws_install_dependencies.sh +++ b/scripts/aws_install_dependencies.sh @@ -2,4 +2,4 @@ echo "Install dependencies" cd /home/notify-app/notifications-admin; -pip3 install -r /home/notify-app/notifications-admin/requirements.txt \ No newline at end of file +pip3 install --find-links=wheelhouse -r /home/notify-app/notifications-admin/requirements.txt