mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
changed up pyhton installation
This commit is contained in:
@@ -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 ./
|
||||||
|
|||||||
Reference in New Issue
Block a user