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 fc232b3 commit 27a6eb7Copy full SHA for 27a6eb7
1 file changed
.diploi/helm/app.yaml
@@ -51,7 +51,20 @@ spec:
51
ports:
52
- containerPort: 3000
53
{{- if eq .Values.stage "development" }}
54
- workingDir: /app{{ .Values.folder }}
+ workingDir: /app{{ .Values.folder }}
55
+ {{- with .Values.containerCommands.developmentStart }}
56
+ command:
57
+ - /bin/sh
58
+ - -c
59
+ - "{{ . }}"
60
+ {{- end }}
61
+ {{- else }}
62
+ {{- with .Values.containerCommands.productionStart }}
63
64
65
66
67
68
{{- end }}
69
env:
70
{{- range .Values.env }}
0 commit comments