Skip to content

Commit 04ded41

Browse files
committed
Add folder support to workingDir
1 parent b747427 commit 04ded41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.diploi/helm/app.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
image: {{ .Values.images.app }}
4040
imagePullPolicy: Always
4141
command: ['composer', 'install', '--optimize-autoloader', '--no-interaction']
42-
workingDir: /app/{{ .Values.identifier }}
42+
workingDir: /app{{ .Values.folder }}
4343
volumeMounts:
4444
- name: app-mount
4545
mountPath: /app
@@ -50,7 +50,7 @@ spec:
5050
imagePullPolicy: Always
5151
ports:
5252
- containerPort: 80
53-
workingDir: /app/{{ .Values.identifier }}/public
53+
workingDir: /app{{ .Values.folder }}}/public
5454
env:
5555
{{- range .Values.env }}
5656
- name: {{ .identifier }}

0 commit comments

Comments
 (0)