Skip to content

Commit 539453c

Browse files
committed
Try switching to --prefer-binary
1 parent 498a00e commit 539453c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.diploi/helm/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:
4444
- |
4545
python -m venv --copies .venv
4646
. ./.venv/bin/activate
47-
pip install --only-binary=:all: --no-cache-dir -r requirements.txt
47+
pip install --prefer-binary --no-cache-dir -r requirements.txt
4848
workingDir: /app/{{ .Values.identifier }}
4949
volumeMounts:
5050
- name: app-mount

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COPY . /app
1010
WORKDIR ${FOLDER}
1111

1212
# Install dependencies
13-
RUN pip install --no-cache-dir -r requirements.txt
13+
RUN pip install --no-cache-dir --prefer-binary -r requirements.txt
1414

1515
# Production image, copy all the files and run "npm start"
1616
FROM base AS runner

0 commit comments

Comments
 (0)