make index.html customizable

This commit is contained in:
Girish Ramakrishnan
2020-09-21 14:30:05 -07:00
parent b4a4361bf8
commit 23f7a98154
3 changed files with 73 additions and 1 deletions

View File

@@ -20,8 +20,10 @@ RUN pip install --upgrade pip && \
RUN curl -sL https://github.com/mikefarah/yq/releases/download/3.2.1/yq_linux_amd64 -o /usr/bin/yq && \
chmod +x /usr/bin/yq
RUN ln -sf /app/data/index.html /app/code/env/lib/python3.6/site-packages/synapse/static/index.html
RUN chown -R cloudron.cloudron /app/code
ADD homeserver.yaml.template start.sh /app/pkg/
ADD index.html homeserver.yaml.template start.sh /app/pkg/
CMD [ "/app/pkg/start.sh" ]