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={r
|
| 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={getattr(r,'path',None) for r in app.routes if getattr(r,'path',None)}; 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)}'\"; \
|
| 60 |
exec /app/start.sh"]
|
| 61 |
|
| 62 |
EXPOSE 5432
|