Last active
June 5, 2023 10:44
-
-
Save nahidacm/078183e3ef338e5af66364541a077d82 to your computer and use it in GitHub Desktop.
Provisioning a base ubuntu docker image for production
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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