entgra-emqx-docker/entrypoint.sh
2023-04-06 10:01:10 +05:30

10 lines
276 B
Bash

#!/bin/bash
echo "copying static content"
STATIC_CONFIG_PATH=/opt/emqx/lib/emqx_dashboard-4.4.10/priv/www/static/
cp /opt/emqx/static/css/* $STATIC_CONFIG_PATH/css/
cp /opt/emqx/static/img/* $STATIC_CONFIG_PATH/img/
echo "Starting server.."
sh /opt/emqx/bin/emqx foreground