changed up pyhton installation

This commit is contained in:
2025-10-21 23:36:59 +02:00
parent 590cf2d10f
commit 45509b1dbd

View File

@@ -14,12 +14,13 @@ RUN apk add --no-cache \
g++ \ g++ \
linux-headers linux-headers
# Create symlink so python3 is callable as python # Install python package which provides 'python' command
RUN ln -sf /usr/bin/python3 /usr/bin/python RUN apk add --no-cache python3 py3-pip && \
ln -s /usr/bin/python3 /usr/bin/python
# Upgrade pip and install Python dependencies # Upgrade pip and install Python dependencies
RUN python -m pip install --upgrade pip && \ RUN python3 -m pip install --upgrade pip && \
pip install ortools python3 -m pip install ortools
# Copy backend files # Copy backend files
COPY backend/package*.json ./ COPY backend/package*.json ./