docs: update command

The latest Dokku manages ports via the ports command.
This commit is contained in:
Jose Diaz-Gonzalez
2023-09-23 00:38:34 -04:00
committed by GitHub
parent a4203843a1
commit 1b1c42d69f

View File

@@ -27,10 +27,10 @@ Dokku will only select the `dockerfile` builder if both the `herokuish` and `pac
### Switching from buildpack deployments
If an application was previously deployed via buildpacks, the following commands should be run before a Dockerfile deploy will succeed:
If an application was previously deployed via buildpacks and ports were customized, the following commands should be run prior to a deploy to ensure the Dockerfile ports are respected:
```shell
dokku proxy:clear-config node-js-app
dokku ports:clear node-js-app
```
### Changing the `Dockerfile` location