Update synapse/Dockerfile

This commit is contained in:
Adrien le Maire 2021-05-01 18:10:12 +00:00
parent 93bb6732f3
commit 6c45f29e23

View File

@ -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
CMD curl -fSs http://localhost:8008/health || exit 1