From 1b1c42d69f6586869c0d433caf9a0aafbba8a63c Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 23 Sep 2023 00:38:34 -0400 Subject: [PATCH] docs: update command The latest Dokku manages ports via the ports command. --- docs/deployment/builders/dockerfiles.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deployment/builders/dockerfiles.md b/docs/deployment/builders/dockerfiles.md index 322d91b7d..71ead308c 100644 --- a/docs/deployment/builders/dockerfiles.md +++ b/docs/deployment/builders/dockerfiles.md @@ -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