Are you sure you want to delete this access key?
git link git repo link heroku app-link Create first flask classifciation machine learning project
[repo link](https://github.com/umaretiya)
conda create -p venv python==3.7 -y ml-classify
XGBoost model for credit card default prediction : ML projects
docker build -t <image name>:<tag name> .
python -m pip install --upgrade pip'
docker image flask_app and credit_card
docker image build -t <flask_docker> . # credit_card //for docker <doker_banking>
docker run -p 5000:5000 -d <flask_docker>
docker run --name flask1 -dit -p 5000:5000 a5f9c7a9a1
docker run -p 5000:5000 -e PORT=5000 a5f9c7a9a1
docker ps docker stop <container_id> docker login
credit_card docker tag flask_docker /
docker push / docker images heroku login docker login --username= --password= heroku create heroku container:push web --app heroku container:release web --app
Note: imagename fro docker must be lowercase
heroku container:push web -a heroku container:release web -a heroku open -a heroku logs --tail -a
To list docker image
docker images
Run docker image
docker run -p 5000:5000 -e PORT=5000 f3322f5e3b00
python -c 'import secrets; print(secrets.token_hex())'
To check runnig container in docker
docker ps
to stop docker container
docker stop <container_id> ad6cabc7a281
Creating yaml file
.github/workflows/main.yaml
echo "# BankingProject" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/umaretiya/BankingProject.git git push -u origin main
git config --global core.compression 0 git clone --depth 1 <repo_URI>
git fetch --unshallow git pull --all
docker build -t <image name>:<tag name> .
Note: imagename fro docker must be lowercase
To list docker image
docker images
Run docker image
docker run -p 5000:5000 -e PORT=5000 6ce17fe3d920
To check runnig container in docker
docker ps
to stop docker container
docker stop <container_id> ad6cabc7a281
Creating yaml file
.github/workflows/main.yaml
python setup.py install
install ipykernel
pip install ipykernel
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?