Skip to content

Instantly share code, notes, and snippets.

@neninja
Last active April 2, 2022 10:57
Show Gist options
  • Save neninja/139a237fe7146ddc6052cc24b13eda86 to your computer and use it in GitHub Desktop.
Save neninja/139a237fe7146ddc6052cc24b13eda86 to your computer and use it in GitHub Desktop.
Criação de projeto usando docker
  • Yarn
docker container run --rm -t -v $(pwd):/app/ -w /app/projectName node:16 yarn init -y
  • React
docker container run --rm -t -v $(pwd):/app/ -w /app node:16 yarn create react-app .
  • Lumen
docker container run --rm -t -v $(pwd):/app/ -w /app composer:latest composer create-project --prefer-dist laravel/lumen projectName
cd projectName
sudo chown -R $USER:$USER .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment