mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Upgrade pip as part of dockerfile
This commit is contained in:
parent
ac242c01c1
commit
c3e0c9378f
@ -75,6 +75,9 @@ RUN apk add --no-cache git make bash \
|
|||||||
# Required for python cryptography support
|
# Required for python cryptography support
|
||||||
openssl-dev musl-dev libffi-dev rust cargo
|
openssl-dev musl-dev libffi-dev rust cargo
|
||||||
|
|
||||||
|
# Update pip
|
||||||
|
RUN pip install --upgrade pip
|
||||||
|
|
||||||
# Install required base-level python packages
|
# Install required base-level python packages
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
RUN pip install --no-cache-dir -U -r requirements.txt
|
RUN pip install --no-cache-dir -U -r requirements.txt
|
||||||
@ -133,4 +136,3 @@ ENTRYPOINT ["/bin/bash", "./docker/init.sh"]
|
|||||||
|
|
||||||
# Launch the development server
|
# Launch the development server
|
||||||
CMD ["invoke", "server", "-a", "${INVENTREE_WEB_ADDR}:${INVENTREE_WEB_PORT}"]
|
CMD ["invoke", "server", "-a", "${INVENTREE_WEB_ADDR}:${INVENTREE_WEB_PORT}"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user