changed python package testing to simple health check

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

View File

@@ -30,10 +30,12 @@ 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 - <<'EOF' RUN <<'PYCODE'
import ortools python - <<'EOF'
import ortools.sat.python.cp_model from ortools.sat.python import cp_model
print("OR-Tools installed successfully")
EOF EOF
PYCODE
# Frontend build stage # Frontend build stage
FROM node:20-alpine AS frontend-builder FROM node:20-alpine AS frontend-builder