Update index.md

This commit is contained in:
Stefan Scherer 2022-02-10 09:58:21 +01:00 committed by GitHub
parent 0edef34461
commit 9eab81d81e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ So, let's do it!
docker run -dp 3000:3000 \ docker run -dp 3000:3000 \
-w /app -v "$(pwd):/app" \ -w /app -v "$(pwd):/app" \
node:12-alpine \ node:12-alpine \
sh -c "apk add --no-cache python g++ make && yarn install && yarn run dev" sh -c "apk add --no-cache python2 g++ make && yarn install && yarn run dev"
``` ```
- `-dp 3000:3000` - same as before. Run in detached (background) mode and create a port mapping - `-dp 3000:3000` - same as before. Run in detached (background) mode and create a port mapping