mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 06:55:45 +01:00
added second check python package testing to simple health check
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user