Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -56,7 +56,7 @@ CMD ["bash", "-lc", "set -euo pipefail; \
|
|
| 56 |
chmod +x /app/start.sh; \
|
| 57 |
python3 -m compileall -q /app; \
|
| 58 |
cd /app; \
|
| 59 |
-
python3 -c \"from platform_app.main import app; paths=
|
| 60 |
exec /app/start.sh"]
|
| 61 |
|
| 62 |
EXPOSE 5432
|
|
|
|
| 56 |
chmod +x /app/start.sh; \
|
| 57 |
python3 -m compileall -q /app; \
|
| 58 |
cd /app; \
|
| 59 |
+
python3 -c \"from platform_app.main import app; paths=set(app.openapi().get('paths', {})); required={'/api/health','/admin/projects','/api/flowtrace','/api/flowtrace-portfolio','/api/openclaw/memories','/api/files','/api/rss/articles'}; missing=required-paths; assert not missing, f'missing routes: {sorted(missing)}'; print(f'Validated {len(paths)} API routes')\"; \
|
| 60 |
exec /app/start.sh"]
|
| 61 |
|
| 62 |
EXPOSE 5432
|