We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 498a00e commit 539453cCopy full SHA for 539453c
2 files changed
.diploi/helm/app.yaml
@@ -44,7 +44,7 @@ spec:
44
- |
45
python -m venv --copies .venv
46
. ./.venv/bin/activate
47
- pip install --only-binary=:all: --no-cache-dir -r requirements.txt
+ pip install --prefer-binary --no-cache-dir -r requirements.txt
48
workingDir: /app/{{ .Values.identifier }}
49
volumeMounts:
50
- name: app-mount
Dockerfile
@@ -10,7 +10,7 @@ COPY . /app
10
WORKDIR ${FOLDER}
11
12
# Install dependencies
13
-RUN pip install --no-cache-dir -r requirements.txt
+RUN pip install --no-cache-dir --prefer-binary -r requirements.txt
14
15
# Production image, copy all the files and run "npm start"
16
FROM base AS runner
0 commit comments