mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
Update synapse/Dockerfile
This commit is contained in:
parent
93bb6732f3
commit
6c45f29e23
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user