Update part2.md (#10457)

Updated the dockerfile comments consistent with ending period marks.
This commit is contained in:
hhchou 2020-03-31 10:47:51 -04:00 committed by GitHub
parent 2f99b92dcc
commit d90d0a47c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -92,16 +92,16 @@ The `node-bulletin-board` project is a simple bulletin board application, writte
Take a look at the file called `Dockerfile` in the bulletin board application. Dockerfiles describe how to assemble a private filesystem for a container, and can also contain some metadata describing how to run a container based on this image. The bulletin board app Dockerfile looks like this:
```dockerfile
# Use the official image as a parent image
# Use the official image as a parent image.
FROM node:current-slim
# Set the working directory
# Set the working directory.
WORKDIR /usr/src/app
# Copy the file from your host to your current location
# Copy the file from your host to your current location.
COPY package.json .
# Run the command inside your image filesystem
# Run the command inside your image filesystem.
RUN npm install
# Inform Docker that the container is listening on the specified port at runtime.