We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b1a798 commit c9f96d7Copy full SHA for c9f96d7
1 file changed
.diploi/helm/app.yaml
@@ -39,7 +39,7 @@ spec:
39
image: {{ .Values.images.app }}
40
imagePullPolicy: Always
41
command: ['npm', 'install']
42
- workingDir: /app/{{ .Values.identifier }}
+ workingDir: {{ if .Values.folder }}/app{{ .Values.folder }}{{ else }}/app/{{ .Values.identifier }}{{ end }}
43
volumeMounts:
44
- name: app-mount
45
mountPath: /app
@@ -51,7 +51,7 @@ spec:
51
ports:
52
- containerPort: 3000
53
{{- if eq .Values.stage "development" }}
54
55
{{- end }}
56
env:
57
{{- range .Values.env }}
0 commit comments