Skip to content

Commit ff89575

Browse files
author
Anett Seeland
authored
Fix: Typos and tag for npm container in Readme.md
1 parent 0c5e5a9 commit ff89575

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ Then open your browser on <http://localhost:8080>
5656
(or the url specified on the console after successfully running the previous command)
5757

5858
Alternativly, you can use the viplab/npm-container (or build the Dockerfile-dev in this repository).
59-
Ensure a clean project directory (without node_modules or dist folder) to be in sync with the container while developing. First, run the container with the 'install' command, mounting the working directory to your project directory.
59+
Ensure a clean project directory (without node_modules or dist folder) to be in sync with the container while developing. First, run the container with the 'install' command, mounting the working directory to your project directory. Lookup avaiable tags [here](https://hub.docker.com/r/viplab/npm/tags).
6060
```
61-
docker run --rm -v <path-to-viplab-standalone-frontend-dir>:/app viplab/npm install
61+
docker run --rm -v <path-to-viplab-standalone-frontend-dir>:/app viplab/npm:<tag> install
6262
```
6363
Then you can start the container with hot reloading or, use the viplab-docker-dev-env compose-file with profile "vue-mount". To see the frontend go to http://localhost:8081 in the first case, and http://localhost otherwise.
6464
```
6565
docker run -it -p 8081:8081 --rm -v <path-to-viplab-standalone-frontend-dir>:/app --name viplab-vue-frontend-dev viplab/npm run serve -- --host 0.0.0.0
6666
```
67-
When you need install further packages while to container is running (and you named it )viplab-vue-frontend-dev"), use:
67+
When you need to install further packages while to container is running (and you named it, e.g., "viplab-vue-frontend-dev"), use:
6868
```
6969
docker exec viplab-vue-frontend-dev npm install XXX
7070
```

0 commit comments

Comments
 (0)