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.
This commit is contained in:
Francisco R. Del Roio
2021-09-28 21:19:12 -03:00
committed by GitHub
parent 27e2f7ab3d
commit e00c98546f

View File

@@ -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: