sensor_demo / docker-entrypoint.sh
andrewlee1807's picture
Publish Wave app to Hugging Face
f2be9d4
raw
history blame contribute delete
354 Bytes
#!/usr/bin/env bash
set -e
export H2O_WAVE_ADDRESS="http://127.0.0.1:${PORT}"
printf '\n$ ( cd %s && ./waved -listen ":%s" & )\n\n' "${WAVE_PATH}" "${PORT}"
(cd "${WAVE_PATH}" && ./waved -listen ":${PORT}" &)
sleep 3
printf '\n$ wave run --no-reload --no-autostart %s\n\n' "$PYTHON_MODULE"
exec wave run --no-reload --no-autostart "$PYTHON_MODULE"