Merge pull request #175 from ScanPlusGmbH/optimze-pip-install

Optimize pip install command
This commit is contained in:
Tobias Genannt 2019-11-01 14:20:20 +01:00 committed by GitHub
commit 8d71d2f973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ RUN apk add --no-cache \
WORKDIR /install
RUN pip install --prefix="/install" --install-option="--prefix=/install" \
RUN pip install --prefix="/install" --no-warn-script-location \
# gunicorn is used for launching netbox
gunicorn \
greenlet \
@ -30,7 +30,7 @@ RUN pip install --prefix="/install" --install-option="--prefix=/install" \
ARG NETBOX_PATH
COPY ${NETBOX_PATH}/requirements.txt /
RUN pip install --prefix="/install" --install-option="--prefix=/install" -r /requirements.txt
RUN pip install --prefix="/install" --no-warn-script-location -r /requirements.txt
###
# Main stage