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
| // check version | |
| node -v || node --version | |
| // list installed versions of node (via nvm) | |
| nvm ls | |
| // install specific version of node | |
| nvm install 6.9.2 | |
| // set default version of node |
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
| Commands | |
| ------------ | |
| 1. Build Docker Image | |
| docker build -t test . | |
| 2. Run container /w image | |
| docker run -d --publish 8888:5000 test | |
| 3. Login to ECR | |
| aws ecr get-login-password --region REGIONHERE!!!! | docker login --username AWS --password-stdin ACCOUNTIDHERE!!!!.dkr.ecr.REGIONHERE!!!.amazonaws.com |
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
| # Build an image | |
| FROM python:3.7.8-buster | |
| RUN apt-get update && apt-get install apt-utils vim nano wget curl zsh git libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 -qq | |
| RUN curl -o- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | bash | |
| RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | |
| RUN /bin/bash Miniconda3-latest-Linux-x86_64.sh -b | |
| RUN rm -rf Miniconda3-latest-Linux-x86_64.sh | |
| RUN echo "export PATH=/root/miniconda3/bin:$PATH" >> /root/.zshrc |
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
| # Created by https://www.gitignore.io/api/vim,clion,macos,adobe,pycharm,appcode,codekit,rubymine,archives,intellij,webstorm,phpstorm,sublimetext,intellij+iml | |
| ### Adobe ### | |
| # Adobe Source Files | |
| *.psd | |
| *.ai | |
| *.indd | |
| *.prproj | |
| *.aep |