Skip to content

Commit 6c34df8

Browse files
committed
Applied review suggestions
1 parent 5b688d1 commit 6c34df8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/content/12/en/part12a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can probably use nvm, virtual machines, or dark magic to get them running at
3434

3535
It is not uncommon that the application just does not run on the server despite it works just fine on your machine. It may be due to some missing dependency or other differences in the environments. Here containers are an excellent solution since you can run the application in the same execution environment both on your machine and on the server. It is not perfect: different hardware can be an issue, but you can limit the differences between environments.
3636

37-
Sometimes you may hear about the <i>"Works in my container"</i> issue. The phrase describes a situation in which the application works fine in a container running on your machine but breaks when the container is started on a server. The phrase is a play on the infamous <i>"Works on my machine"</i> issue, which containers are often promised to solve. The situation also is most likely, an usage error.
37+
Sometimes you may hear about the <i>"Works in my container"</i> issue. The phrase describes a situation in which the application works fine in a container running on your machine but breaks when the container is started on a server. The phrase is a play on the infamous <i>"Works on my machine"</i> issue, which containers are often promised to solve. The situation also is most likely an usage error.
3838

3939
### About this part
4040

src/content/12/en/part12b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ Build it to an image with the command:
500500
docker build -t initialized-mongo .
501501
```
502502

503-
Change now the <i>docker-compose.dev.yml</i> file to use the new image:
503+
Now change the <i>docker-compose.dev.yml</i> file to use the new image:
504504

505505
```yml
506506
mongo:

src/content/12/en/part12c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ COPY --from=build-stage /usr/src/app/dist /usr/share/nginx/html
154154
# highlight-end
155155
```
156156

157-
We have declared also <i>another stage</i>, to where only the relevant files of the first stage (the <i>dist</i> directory, that contains the static content) are copied.
157+
We have also declared <i>another stage</i>, where only the relevant files of the first stage (the <i>dist</i> directory, that contains the static content) are copied.
158158

159159
After we build it again, the image is ready to serve the static content. The default port will be 80 for Nginx, so something like _-p 8000:80_ will work, so the parameters of the RUN command need to be changed a bit.
160160

0 commit comments

Comments
 (0)