mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-01-16 08:05:57 +00:00
18 lines
430 B
Docker
18 lines
430 B
Docker
FROM matrixdotorg/synapse
|
|
|
|
# This defaults to /data which is a volume aiming at keeping data.
|
|
# Here, we want to trash those, and avoid the permission issues, so let's use something else
|
|
ENV SYNAPSE_CONFIG_DIR=/srv
|
|
|
|
WORKDIR $SYNAPSE_CONFIG_DIR
|
|
|
|
ADD homeserver.yaml .
|
|
|
|
RUN python -m synapse.app.homeserver --config-path homeserver.yaml --generate-keys
|
|
|
|
RUN chown -R 991:991 .
|
|
|
|
RUN python -m pip install aiohttp matrix-nio
|
|
|
|
ADD . .
|