Skip to content

Docker-containerizing a simple app using Python and Flask Framework

Notifications You must be signed in to change notification settings

tanjil-dev/python-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

djangobackend

virtualenv install

pip3 install virtualenv

create virtual environment

python -m virtualenv [name]

activate virtual environment

source /[name]/bin/activate

intall all requirements

pip3 install -r requirements.txt

docker image

docker build --tagg [docker-name]

stop docker image

docker stop [docker-name]

mysql config

docker volume create mysql
docker volume create mysql_config
docker network create mysqlnet

stop mysql service

sudo service mysql stop

docker compose

docker compose -f docker-compose.dev.yml up --build

About

Docker-containerizing a simple app using Python and Flask Framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published