From e00c98546ff1481cef776ce20736fdd18d91ed25 Mon Sep 17 00:00:00 2001 From: "Francisco R. Del Roio" Date: Tue, 28 Sep 2021 21:19:12 -0300 Subject: [PATCH] A comment about Dockerfile deployment. I found issues while trying to deploy an app from a dockerfile and I found that the expose instruction causes problems with the dokku proxy. --- docs/getting-started/troubleshooting.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/getting-started/troubleshooting.md b/docs/getting-started/troubleshooting.md index ebecbc6de..ab2a34552 100644 --- a/docs/getting-started/troubleshooting.md +++ b/docs/getting-started/troubleshooting.md @@ -64,6 +64,8 @@ Save the file and try stopping nginx and starting it again: ## * Starting nginx nginx [ OK ] ``` +If you deploy using a *Dockerfile*, this may result in issues at deployment time. The `EXPOSE` instruction may cause your app to be exposed in an incorrect port. Try removing the `EXPOSE` instruction from your dockerfile. + ### I want to deploy my app, but while pushing I get the following error The following error may be emitted from a deploy: