Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions linux-docker-fundamentals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,7 @@ docker container rm -f todo-app
docker container ls -a

# from the gettingstarted/app dir
docker container run -d --name todo-app -p 3000:3000 -w /app -v "$(pwd):/app" node:12-alpine sh -c "yarn install && yarn run dev"
docker container run -d --name todo-app -p 3000:3000 -w /app -v "$(pwd):/app" node:12-alpine sh -c "yarn install --ignore-engines && yarn run dev"

# '-w /app' sets the “working directory” or the current directory that the command will run from
# '-v "$(pwd):/app"' bind mount the current directory from the host in the container into the /app directory
Expand Down Expand Up @@ -1766,4 +1766,4 @@ https://youtube.com/playlist?list=PL5uLNcv9SibBZj30yqG01a7A4_MXSyGK3
1 hr for linux and git 2 hour for docker IMO
If I were you I would skip shell scirpt

https://iximiuz.com/en/posts/container-learning-path/
https://iximiuz.com/en/posts/container-learning-path/