Skip to content

Commit 174e82a

Browse files
committed
Suppress cp errors
1 parent 6f03008 commit 174e82a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.diploi/helm/app.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ spec:
4141
command: ["/bin/sh", "-c"]
4242
args:
4343
- |
44-
uv sync --frozen --no-cache && \
45-
cp --remove-destination "$(readlink /app/{{ .Values.identifier }}/.venv//bin/python)" /app/{{ .Values.identifier }}/.venv/bin/python
44+
uv sync --frozen --no-cache --link-mode=copy && \
45+
cp --remove-destination "$(readlink /app/{{ .Values.identifier }}/.venv//bin/python)" /app/{{ .Values.identifier }}/.venv/bin/python 2>/dev/null || :
4646
workingDir: /app/{{ .Values.identifier }}
4747
volumeMounts:
4848
- name: app-mount

0 commit comments

Comments
 (0)