mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 06:55:45 +01:00
changed python package testing to simple health check
This commit is contained in:
@@ -30,12 +30,9 @@ 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 <<'PYCODE'
|
RUN echo "import ortools; import ortools.sat.python.cp_model; print('OR-Tools installed successfully')" > verify_ortools.py \
|
||||||
python - <<'EOF'
|
&& python verify_ortools.py \
|
||||||
from ortools.sat.python import cp_model
|
&& rm verify_ortools.py
|
||||||
print("OR-Tools installed successfully")
|
|
||||||
EOF
|
|
||||||
PYCODE
|
|
||||||
|
|
||||||
# Frontend build stage
|
# Frontend build stage
|
||||||
FROM node:20-alpine AS frontend-builder
|
FROM node:20-alpine AS frontend-builder
|
||||||
|
|||||||
Reference in New Issue
Block a user