fix: add command to deployment, args replace CMD not append
K8s args without command replaces Dockerfile CMD entirely. Container tried exec 'serve' as binary instead of '/app/mem serve'. Add explicit command: ["/app/mem"] so args append correctly.
This commit is contained in:
@@ -78,6 +78,7 @@ spec:
|
||||
name: poimen-memory-auth
|
||||
- secretRef:
|
||||
name: poimen-memory-secrets
|
||||
command: ["/app/mem"]
|
||||
args:
|
||||
- serve
|
||||
- --port
|
||||
|
||||
Reference in New Issue
Block a user