changed python package testing to simple health check

This commit is contained in:
2025-10-22 00:28:28 +02:00
parent eb8945ae97
commit 26417aaf88

View File

@@ -30,7 +30,10 @@ COPY backend/src/ ./src/
RUN npm run build RUN npm run build
# Verify Python and OR-Tools installation # Verify Python and OR-Tools installation
RUN python -c "from ortools.sat.python import cp_model; print('OR-Tools installed successfully')" RUN python - <<'EOF'
import ortools
import ortools.sat.python.cp_model
EOF
# Frontend build stage # Frontend build stage
FROM node:20-alpine AS frontend-builder FROM node:20-alpine AS frontend-builder