Spaces:
Running
Running
# Build and run the LeRobot Arena Frontend Docker container | |
set -e | |
echo "ποΈ Building LeRobot Arena Frontend Docker image..." | |
# Build the image | |
docker build -t lerobot-arena-svelte-frontend . | |
echo "β Build completed successfully!" | |
echo "π Starting the container..." | |
# Run the container | |
docker run -d \ | |
--name lerobot-arena-svelte-frontend \ | |
-p 3000:3000 \ | |
--restart unless-stopped \ | |
lerobot-arena-svelte-frontend | |
echo "β Container started successfully!" | |
echo "π Frontend is available at: http://localhost:3000" | |
echo "" | |
echo "π Useful commands:" | |
echo " β’ View logs: docker logs -f lerobot-arena-svelte-frontend" | |
echo " β’ Stop: docker stop lerobot-arena-svelte-frontend" | |
echo " β’ Remove: docker rm lerobot-arena-svelte-frontend" | |
echo " β’ Health check: docker inspect --format='{{.State.Health.Status}}' lerobot-arena-svelte-frontend" |