fix(api/Dockerfile): fix a typo in pip package name
This commit is contained in:
parent
60ae29a612
commit
90d878a340
|
@ -52,14 +52,14 @@ RUN \
|
||||||
# is why we need to use the packages shipped by Alpine Linux.
|
# is why we need to use the packages shipped by Alpine Linux.
|
||||||
# Since poetry does not allow in-place dependency pinning, we need
|
# Since poetry does not allow in-place dependency pinning, we need
|
||||||
# to install the deps using pip.
|
# to install the deps using pip.
|
||||||
cat /requirements.txt | grep -Ev 'cryptography|autobahn|uvicorn|watchdog|watchfiles' | pip3 install -r /dev/stdin cryptography==3.4.8 autobahn==21.2.1 uvicorn==0.17.6 watchgod==0.8.2 && \
|
cat /requirements.txt | grep -Ev 'cryptography|autobahn|uvicorn|watchgod|watchfiles' | pip3 install -r /dev/stdin cryptography==3.4.8 autobahn==21.2.1 uvicorn==0.17.6 watchgod==0.8.2 && \
|
||||||
rm -rf $PIP_DOWNLOAD_CACHE
|
rm -rf $PIP_DOWNLOAD_CACHE
|
||||||
|
|
||||||
ARG install_dev_deps=0
|
ARG install_dev_deps=0
|
||||||
RUN \
|
RUN \
|
||||||
if [ "$install_dev_deps" = "1" ] ; then \
|
if [ "$install_dev_deps" = "1" ] ; then \
|
||||||
echo "Installing dev dependencies" && \
|
echo "Installing dev dependencies" && \
|
||||||
cat /dev-requirements.txt | grep -Ev 'cryptography|autobahn|uvicorn|watchdog|watchfiles' | pip3 install -r /dev/stdin cryptography==3.3.2 autobahn==21.2.1 uvicorn==0.17.6 watchgod==0.8.2 \
|
cat /dev-requirements.txt | grep -Ev 'cryptography|autobahn|uvicorn|watchgod|watchfiles' | pip3 install -r /dev/stdin cryptography==3.3.2 autobahn==21.2.1 uvicorn==0.17.6 watchgod==0.8.2 \
|
||||||
; else \
|
; else \
|
||||||
echo "Skipping dev deps installation" \
|
echo "Skipping dev deps installation" \
|
||||||
; fi
|
; fi
|
||||||
|
|
Loading…
Reference in New Issue