robopark 2.7.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robopark",
3
- "version": "2.7.0",
3
+ "version": "2.8.1",
4
4
  "description": "RoboPark fleet control CLI — set up, watch, and drive a fleet of talking robots. The operator front-end over the infinicode mesh.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,13 +8,14 @@
8
8
  },
9
9
  "files": [
10
10
  "bin/robopark.js",
11
+ "scheduler",
11
12
  "README.md"
12
13
  ],
13
14
  "engines": {
14
15
  "node": ">=20"
15
16
  },
16
17
  "dependencies": {
17
- "infinicode": "^2.7.0"
18
+ "infinicode": "^2.8.1"
18
19
  },
19
20
  "keywords": [
20
21
  "robopark",
@@ -0,0 +1,24 @@
1
+ # RoboPark Session Scheduler
2
+ FROM python:3.11-slim
3
+
4
+ WORKDIR /app
5
+
6
+ # Install dependencies
7
+ COPY requirements.txt .
8
+ RUN pip install --no-cache-dir -r requirements.txt
9
+
10
+ # Copy application
11
+ COPY main.py .
12
+
13
+ # Create data directory
14
+ RUN mkdir -p /app/data
15
+
16
+ # Expose port
17
+ EXPOSE 8080
18
+
19
+ # Health check
20
+ HEALTHCHECK --interval=30s --timeout=5s --start-period=5s \
21
+ CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8080/api/robots')"
22
+
23
+ # Run
24
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]