Skip to content

Commit 8d71d2f

Browse files
authored
Merge pull request #175 from ScanPlusGmbH/optimze-pip-install
Optimize pip install command
2 parents f7b526e + f9662a1 commit 8d71d2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apk add --no-cache \
1616

1717
WORKDIR /install
1818

19-
RUN pip install --prefix="/install" --install-option="--prefix=/install" \
19+
RUN pip install --prefix="/install" --no-warn-script-location \
2020
# gunicorn is used for launching netbox
2121
gunicorn \
2222
greenlet \
@@ -30,7 +30,7 @@ RUN pip install --prefix="/install" --install-option="--prefix=/install" \
3030

3131
ARG NETBOX_PATH
3232
COPY ${NETBOX_PATH}/requirements.txt /
33-
RUN pip install --prefix="/install" --install-option="--prefix=/install" -r /requirements.txt
33+
RUN pip install --prefix="/install" --no-warn-script-location -r /requirements.txt
3434

3535
###
3636
# Main stage

0 commit comments

Comments
 (0)