mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-13 00:32:16 -05:00
Install pip wheel in the dockerfile
This commit is contained in:
3
Makefile
3
Makefile
@@ -57,8 +57,6 @@ production: ## Set environment to production
|
|||||||
dependencies: venv ## Install build dependencies
|
dependencies: venv ## Install build dependencies
|
||||||
mkdir -p ${PIP_ACCEL_CACHE}
|
mkdir -p ${PIP_ACCEL_CACHE}
|
||||||
PIP_ACCEL_CACHE=${PIP_ACCEL_CACHE} ./venv/bin/pip-accel install -r requirements_for_test.txt
|
PIP_ACCEL_CACHE=${PIP_ACCEL_CACHE} ./venv/bin/pip-accel install -r requirements_for_test.txt
|
||||||
./venv/bin/pip-accel install wheel
|
|
||||||
./venv/bin/pip-accel wheel --wheel-dir=wheelhouse -r requirements.txt
|
|
||||||
|
|
||||||
.PHONY: generate-version-file
|
.PHONY: generate-version-file
|
||||||
generate-version-file: ## Generates the app version file
|
generate-version-file: ## Generates the app version file
|
||||||
@@ -66,6 +64,7 @@ generate-version-file: ## Generates the app version file
|
|||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: dependencies generate-version-file ## Build project
|
build: dependencies generate-version-file ## Build project
|
||||||
|
./venv/bin/pip-accel wheel --wheel-dir=wheelhouse -r requirements.txt
|
||||||
|
|
||||||
.PHONY: build-codedeploy-artifact
|
.PHONY: build-codedeploy-artifact
|
||||||
build-codedeploy-artifact: ## Build the deploy artifact for CodeDeploy
|
build-codedeploy-artifact: ## Build the deploy artifact for CodeDeploy
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ RUN \
|
|||||||
echo "Install global pip packages" \
|
echo "Install global pip packages" \
|
||||||
&& pip install \
|
&& pip install \
|
||||||
virtualenv \
|
virtualenv \
|
||||||
awscli
|
awscli \
|
||||||
|
wheel
|
||||||
|
|
||||||
WORKDIR /var/project
|
WORKDIR /var/project
|
||||||
|
|||||||
Reference in New Issue
Block a user