added second check python package testing to simple health check

This commit is contained in:
2025-10-22 00:44:04 +02:00
parent 0821ca7711
commit 90e10b9cc2

View File

@@ -29,6 +29,10 @@ COPY backend/src/ ./src/
# Build backend
RUN npm run build
RUN echo "import ortools; import ortools.sat.python.cp_model; print('OR-Tools installed successfully')" > verify_ortools.py \
&& python3 verify_ortools.py \
&& rm verify_ortools.py
# Verify Python and OR-Tools installation
RUN echo "import ortools; import ortools.sat.python.cp_model; print('OR-Tools installed successfully')" > verify_ortools.py \
&& python verify_ortools.py \