mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
fix(docker): [ota] update entrypoint for container creation
This commit is contained in:
parent
b95ef57e42
commit
563d344252
1 changed files with 3 additions and 3 deletions
|
@ -164,9 +164,9 @@ func UpgradeStepOne(channel string, progressChan chan<- float64) (err error) {
|
|||
_, err = cli.ContainerCreate(
|
||||
ctx,
|
||||
&container.Config{
|
||||
Image: fmt.Sprintf("%s:%s", ImageName, tag),
|
||||
Cmd: upgradeCmd, // Use upgrade command instead of original command
|
||||
Env: containerEnv,
|
||||
Image: fmt.Sprintf("%s:%s", ImageName, tag),
|
||||
Entrypoint: upgradeCmd,
|
||||
Env: containerEnv,
|
||||
},
|
||||
&container.HostConfig{
|
||||
Binds: containerInfo.HostConfig.Binds,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue