ADD file:5dd525c57625a3a84d57d435b3c255f417ad1722250faaf006c66b9090207f66 in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c mkdir /plugins # buildkit |
RUN /bin/sh -c apk add --no-cache su-exec ca-certificates dos2unix imagemagick ffmpeg # buildkit |
COPY /opt/bin/plugin_antispam_ocr /plugins/ # buildkit |
COPY /opt/bin/media_repo /opt/bin/import_synapse /opt/bin/import_dendrite /opt/bin/export_synapse_for_import /opt/bin/export_dendrite_for_import /opt/bin/import_to_synapse /opt/bin/gdpr_export /opt/bin/gdpr_import /opt/bin/s3_consistency_check /opt/bin/combine_signing_keys /opt/bin/generate_signing_key /usr/local/bin/ # buildkit |
COPY ./config.sample.yaml /etc/media-repo.yaml.sample # buildkit |
COPY ./docker/run.sh /usr/local/bin/ # buildkit |
RUN /bin/sh -c dos2unix /usr/local/bin/run.sh && chmod 744 /usr/local/bin/run.sh # buildkit |
ENV REPO_CONFIG=/data/media-repo.yaml |
CMD ["/bin/sh" "-c" "/usr/local/bin/run.sh"] |
VOLUME [/data /media] |
EXPOSE map[8000/tcp:{}] |