Merge pull request #719 from alphagov/use-wheels-to-speed-as-deployment

Move wheel dependency installation to docker build
This commit is contained in:
imdadahad
2016-10-28 17:54:39 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -64,11 +64,10 @@ 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
.PHONY: build-codedeploy-artifact
build-codedeploy-artifact: ## Build the deploy artifact for CodeDeploy
pip3 install wheel
pip3 wheel --wheel-dir=wheelhouse -r requirements.txt
mkdir -p target
zip -r -x@deploy-exclude.lst target/notifications-api.zip *

View File

@@ -20,6 +20,7 @@ RUN \
echo "Install global pip packages" \
&& pip install \
virtualenv \
awscli
awscli \
wheel
WORKDIR /var/project