fix(worker): preserve exec-form entrypoint

This commit is contained in:
DCCONSTRUCTIONS
2026-08-31 21:45:51 +03:00
parent 00ee5f163a
commit 10fe727561
2 changed files with 9 additions and 1 deletions
@@ -49,7 +49,10 @@ $BaseImageReference = "sha256:$BaseImageSha256"
$BuildMethod = "docker-commit-exact-layer-v1"
$MaximumLayerBytes = [int64](32MB)
$ImageWorkdir = "/opt/nodedc/mission-core"
$ImageEntrypoint = '["python3","-m","k1link.observatory.m49_worker_container_main"]'
# Windows PowerShell reconstructs native command lines and strips unescaped
# JSON quotes. Docker commit must receive the escaped quotes so the change is
# parsed as exec-form ENTRYPOINT instead of shell form.
$ImageEntrypoint = '[\"python3\",\"-m\",\"k1link.observatory.m49_worker_container_main\"]'
$ImageCommand = '[]'
$FixedEnvironment = @(
"PYTHONPATH=/opt/nodedc/mission-core/src:/opt/nodedc/mission-core/deps",