Docs fix Update port-management.md RUN -> CMD

This commit is contained in:
chrisjsimpson
2024-05-04 16:08:58 +01:00
committed by GitHub
parent 50ef310842
commit 0e2eaca819

View File

@@ -163,7 +163,7 @@ For example, if the Dokku installation is configured with the domain `dokku.me`
``` ```
FROM ubuntu:20.04 FROM ubuntu:20.04
EXPOSE 1234 EXPOSE 1234
RUN python -m SimpleHTTPServer 1234 CMD python -m SimpleHTTPServer 1234
``` ```
The application would be exposed to the user at `node-js-app.dokku.me:1234`. If this is not desired, the following application configuration may be applied: The application would be exposed to the user at `node-js-app.dokku.me:1234`. If this is not desired, the following application configuration may be applied: