1
0

Dockerfile 467 B

12345678910111213141516171819202122
  1. # A dockerfile which builds an image suitable for testing Synapse under
  2. # complement.
  3. ARG SYNAPSE_VERSION=latest
  4. FROM matrixdotorg/synapse:${SYNAPSE_VERSION}
  5. ENV SERVER_NAME=localhost
  6. COPY conf/* /conf/
  7. # generate a signing key
  8. RUN generate_signing_key -o /conf/server.signing.key
  9. WORKDIR /data
  10. EXPOSE 8008 8448
  11. ENTRYPOINT ["/conf/start.sh"]
  12. HEALTHCHECK --start-period=5s --interval=1s --timeout=1s \
  13. CMD curl -fSs http://localhost:8008/health || exit 1