entgra-emqx-docker/entrypoint.sh

10 lines
276 B
Bash
Raw Normal View History

2023-04-06 04:31:10 +00:00
#!/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