FROM alerta/alerta-web:7.4.5
EXPOSE 8080
RUN /venv/bin/pip install git+https://github.com/alerta/alerta-contrib.git#subdirectory=integrations/mailer
COPY . ${WORKDIR}
COPY sbin/* /sbin/
ENTRYPOINT ["/sbin/entrypoint.sh"]
CMD ["supervisord", "-c", "/app/supervisord.conf"]