From 6c45f29e2342640937596ab6c0485a3c63326f9f Mon Sep 17 00:00:00 2001 From: Adrien le Maire Date: Sat, 1 May 2021 18:10:12 +0000 Subject: [PATCH] Update synapse/Dockerfile --- synapse/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/synapse/Dockerfile b/synapse/Dockerfile index 6de1576..d5e7c55 100644 --- a/synapse/Dockerfile +++ b/synapse/Dockerfile @@ -138,12 +138,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ python3-opentracing \ && rm -rf /var/lib/apt/lists/* - - COPY --from=builder /install /usr/local COPY ./docker/start.py /start.py COPY ./docker/conf /conf +RUN ln -s /usr/bin/python3 /usr/local/bin/python && \ + mv /usr/local/lib/python3.9/site-packages/* /usr/local/lib/python3.9/dist-packages/ + VOLUME ["/data"] EXPOSE 8008/tcp 8009/tcp 8448/tcp @@ -151,4 +152,4 @@ EXPOSE 8008/tcp 8009/tcp 8448/tcp ENTRYPOINT ["/start.py"] HEALTHCHECK --interval=1m --timeout=5s \ - CMD curl -fSs http://localhost:8008/health || exit 1 \ No newline at end of file + CMD curl -fSs http://localhost:8008/health || exit 1