You've already forked snikket-web-portal
Merge pull request #125 from snikket-im/fix/support-requirements-compilation
Dockerfile: Add dev headers required for building deps
This commit is contained in:
@@ -44,9 +44,9 @@ RUN set -eu; \
|
|||||||
export DEBIAN_FRONTEND=noninteractive ; \
|
export DEBIAN_FRONTEND=noninteractive ; \
|
||||||
apt-get update ; \
|
apt-get update ; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
python3 python3-pip python3-setuptools python3-wheel build-essential; \
|
python3 python3-pip python3-setuptools python3-wheel build-essential libpython3-dev; \
|
||||||
pip3 install -r requirements.txt; \
|
pip3 install -r requirements.txt; \
|
||||||
apt-get remove -y --autoremove build-essential; \
|
apt-get remove -y --autoremove build-essential libpython3-dev; \
|
||||||
apt-get clean ; rm -rf /var/lib/apt/lists; \
|
apt-get clean ; rm -rf /var/lib/apt/lists; \
|
||||||
pip3 install hypercorn; \
|
pip3 install hypercorn; \
|
||||||
rm -rf /root/.cache;
|
rm -rf /root/.cache;
|
||||||
|
|||||||
Reference in New Issue
Block a user