Skip to content

Commit 7ee3276

Browse files
committed
Merge pull request #66 from krancour/minor-dockerfile-cleanup
doc(using dockerfiles): Apply minor cleanup
2 parents 9cd2ecc + 34a5e4a commit 7ee3276

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/using-deis/using-docker-images.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ it to [DockerHub][].
2323

2424
In order to deploy Docker images, they must conform to the following requirements:
2525

26-
* The Docker image must EXPOSE only one port
27-
* The port must be listening for a HTTP connection
28-
* A default CMD must be specified for running the container
26+
* The Dockerfile must use the `EXPOSE` directive to expose exactly one port.
27+
* That port must be listening for an HTTP connection.
28+
* The Dockerfile must use the `CMD` directive to define the default process that will run within the container.
2929

3030

3131
## Create an Application

src/using-deis/using-dockerfiles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ If you do not have an existing application, you can clone an example application
1616

1717
In order to deploy Dockerfile applications, they must conform to the following requirements:
1818

19-
* The Dockerfile must EXPOSE only one port
20-
* The port must be listening for a HTTP connection
21-
* A default CMD must be specified for running the container
19+
* The Dockerfile must use the `EXPOSE` directive to expose exactly one port.
20+
* That port must be listening for an HTTP connection.
21+
* The Dockerfile must use the `CMD` directive to define the default process that will run within the container.
2222

2323

2424
## Create an Application

0 commit comments

Comments
 (0)