Skip to content

Commit 249ad32

Browse files
committed
Add folder support to workingDir
1 parent 66f3e8e commit 249ad32

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.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
@@ -55,7 +55,7 @@ spec:
5555
ports:
5656
- containerPort: 8000
5757
{{- if eq .Values.stage "development" }}
58-
workingDir: /app/{{ .Values.identifier }}
58+
workingDir: /app{{ .Values.folder }}
5959
{{- end }}
6060
env:
6161
{{- range .Values.env }}

0 commit comments

Comments
 (0)