Skip to content

Commit 73ba0d4

Browse files
authored
Merge pull request #3593 from guymelef/patch-7
fix typo: othervise -> otherwise
2 parents 37bcb7a + 1a58046 commit 73ba0d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/12/en/part12c.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ These all are great reasons. The tradeoff is that we may encounter some unconven
197197

198198
Let's start with the frontend. Since the Dockerfile will be significantly different from the production Dockerfile let's create a new one called <i>dev.Dockerfile</i>.
199199

200-
**Note** we shall use the name <i>dev.Dockerfile</i> for development configurations and <i>Dockerfile</i> othervise.
200+
**Note** we shall use the name <i>dev.Dockerfile</i> for development configurations and <i>Dockerfile</i> otherwise.
201201

202202
Starting the Vite in development mode should be easy. Let's start with the following:
203203

@@ -277,7 +277,7 @@ services:
277277
278278
With this configuration, _docker compose up_ can run the application in development mode. You don't even need Node installed to develop it!
279279
280-
**Note** we shall use the name <i>docker-compose.dev.yml</i> for development environment compose files, and the default name <i>docker-compose.yml</i> othervise.
280+
**Note** we shall use the name <i>docker-compose.dev.yml</i> for development environment compose files, and the default name <i>docker-compose.yml</i> otherwise.
281281
282282
Installing new dependencies is a headache for a development setup like this. One of the better options is to install the new dependency **inside** the container. So instead of doing e.g. _npm install axios_, you have to do it in the running container e.g. _docker exec hello-front-dev npm install axios_, or add it to the package.json and run _docker build_ again.
283283
@@ -471,7 +471,7 @@ http {
471471
}
472472
```
473473

474-
**Note** we are using the familiar naming convention also for Nginx, <i>nginx.dev.conf</i> for development configurations, and the default name<i>nginx.conf</i> othervise.
474+
**Note** we are using the familiar naming convention also for Nginx, <i>nginx.dev.conf</i> for development configurations, and the default name<i>nginx.conf</i> otherwise.
475475

476476
Next, create an Nginx service in the <i>docker-compose.dev.yml</i> file. Add a volume as instructed in the Docker Hub page where the right side is _:/etc/nginx/nginx.conf:ro_, the final ro declares that the volume will be <i>read-only</i>:
477477

0 commit comments

Comments
 (0)