Skip to content

Instantly share code, notes, and snippets.

@nahidacm
Last active June 5, 2023 10:44
Show Gist options
  • Save nahidacm/078183e3ef338e5af66364541a077d82 to your computer and use it in GitHub Desktop.
Save nahidacm/078183e3ef338e5af66364541a077d82 to your computer and use it in GitHub Desktop.
Provisioning a base ubuntu docker image for production
apt update
# Install curl
apt install curl -y
# Install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
source ~/.bashrc
# Install preffered one
nvm install --lts
# Install common npm packages
npm install --global yarn
yarn global add pm2
yarn global add @nestjs/cli
# Install Git
apt install git -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment