Update Dockerfile

This commit is contained in:
Adrien le Maire 2021-04-30 07:05:26 +00:00
parent 9040815ab9
commit 4071758696

View File

@ -29,6 +29,7 @@ RUN apt-get update && apt-get install -y \
openssl \ openssl \
rustc \ rustc \
zlib1g-dev \ zlib1g-dev \
python3-pip \
python3-jsonschema \ python3-jsonschema \
python3-frozendict \ python3-frozendict \
python3-unpaddedbase64 \ python3-unpaddedbase64 \
@ -82,7 +83,7 @@ COPY synapse /synapse/synapse/
# Install the synapse package itself and all of its children packages. # Install the synapse package itself and all of its children packages.
# #
# This is aiming at installing only the `packages=find_packages(...)` from `setup.py # This is aiming at installing only the `packages=find_packages(...)` from `setup.py
RUN pip install --prefix="/install" --no-deps --no-warn-script-location /synapse RUN pip3 install --prefix="/install" --no-deps --no-warn-script-location /synapse
### ###
### Stage 1: runtime ### Stage 1: runtime