Skip to content

Commit f9651e7

Browse files
committed
Add folder support to workingDir
1 parent 6d6279b commit f9651e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.diploi/helm/app.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ spec:
4242
args:
4343
- |
4444
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 || :
46-
workingDir: /app/{{ .Values.identifier }}
45+
cp --remove-destination "$(readlink /app{{ .Values.folder }}/.venv/bin/python)" /app{{ .Values.folder }}/.venv/bin/python 2>/dev/null || :
46+
workingDir: /app{{ .Values.folder }}
4747
volumeMounts:
4848
- name: app-mount
4949
mountPath: /app
@@ -60,7 +60,7 @@ spec:
6060
value: {{ .value | quote }}
6161
{{- end }}
6262
{{- if eq .Values.stage "development"}}
63-
workingDir: /app/{{ .Values.identifier }}
63+
workingDir: /app{{ .Values.folder }}
6464
{{- end }}
6565
volumeMounts:
6666
{{- if hasKey .Values.storage "code" }}

0 commit comments

Comments
 (0)