Skip to content

racksync/python-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-docker

Local development environment for Python using Docker.

  1. Prerequisites
sudo python3 -m pip install Flask

or

sudo python3 -m pip install -r requirements.txt
  1. Run the application
python3 app.py

Dockerize

  1. Build the image
docker build -t python-docker .
  1. Run the container
docker run -d --name --restart unless-stopped python-app -p 8080:8080 python-docker
  1. Access the application
http://localhost:8080/quote
  1. Push Docker Image

About

Dockerization Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published