Spaces:
Running
Running
Update
Browse files- README.md +5 -5
- external/RobotHub-InferenceServer +1 -1
README.md
CHANGED
@@ -84,7 +84,7 @@ jobs:
|
|
84 |
For local development or custom hosting:
|
85 |
```bash
|
86 |
docker build -t lerobot-arena-frontend .
|
87 |
-
docker run -p
|
88 |
```
|
89 |
|
90 |
The Docker setup uses Bun's simple static server - much simpler than the complex server.js approach!
|
@@ -167,7 +167,7 @@ The Docker setup includes:
|
|
167 |
|
168 |
- **Multi-stage build**: Optimized for production using Bun and uv
|
169 |
- **Automatic startup**: Both services start together
|
170 |
-
- **Port mapping**: Backend on 8080, Frontend on
|
171 |
- **Static file serving**: Compiled Svelte app served efficiently
|
172 |
- **User permissions**: Properly configured for Hugging Face Spaces
|
173 |
- **Standalone executable**: Backend packaged with box-packager for faster startup
|
@@ -208,15 +208,15 @@ docker-compose up --build
|
|
208 |
|
209 |
### Port Conflicts
|
210 |
|
211 |
-
If ports 8080 or
|
212 |
|
213 |
```bash
|
214 |
# Check what's using the ports
|
215 |
lsof -i :8080
|
216 |
-
lsof -i :
|
217 |
|
218 |
# Use different ports
|
219 |
-
docker run -p 8081:8080 -p 7861:
|
220 |
```
|
221 |
|
222 |
### Container Issues
|
|
|
84 |
For local development or custom hosting:
|
85 |
```bash
|
86 |
docker build -t lerobot-arena-frontend .
|
87 |
+
docker run -p 3000:3000 lerobot-arena-frontend
|
88 |
```
|
89 |
|
90 |
The Docker setup uses Bun's simple static server - much simpler than the complex server.js approach!
|
|
|
167 |
|
168 |
- **Multi-stage build**: Optimized for production using Bun and uv
|
169 |
- **Automatic startup**: Both services start together
|
170 |
+
- **Port mapping**: Backend on 8080, Frontend on 3000 (HF Spaces compatible)
|
171 |
- **Static file serving**: Compiled Svelte app served efficiently
|
172 |
- **User permissions**: Properly configured for Hugging Face Spaces
|
173 |
- **Standalone executable**: Backend packaged with box-packager for faster startup
|
|
|
208 |
|
209 |
### Port Conflicts
|
210 |
|
211 |
+
If ports 8080 or 3000 are already in use:
|
212 |
|
213 |
```bash
|
214 |
# Check what's using the ports
|
215 |
lsof -i :8080
|
216 |
+
lsof -i :3000
|
217 |
|
218 |
# Use different ports
|
219 |
+
docker run -p 8081:8080 -p 7861:3000 lerobot-arena
|
220 |
```
|
221 |
|
222 |
### Container Issues
|
external/RobotHub-InferenceServer
CHANGED
@@ -1 +1 @@
|
|
1 |
-
Subproject commit
|
|
|
1 |
+
Subproject commit c30abb65c9a278e59f733f457f7d01ec7822300a
|