FROM docker.io/matrixdotorg/synapse:v1.98.0
ENV SYNAPSE_CONFIG_DIR=/conf
ENV SYNAPSE_REPORT_STATS=yes
COPY --chown=root:root entrypoint_wrapper /
COPY --chown=root:root homeserver.yaml /conf/
ENTRYPOINT ["/entrypoint_wrapper"]