Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Docker base image for Python web applications in JusBrasil.

Notifications You must be signed in to change notification settings

jusbrasil/docker-python-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Docker jusbrasil/python-web

Docker base image for Python web applications in JusBrasil.

Installed Packages

System:

Python:

Node:

Usage

For example, you can write an app.py Flask application:

from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello():
    return 'Hello World!\n'

if __name__ == "__main__":
    app.run(host="0.0.0.0", debug=True)

Then, configure your Python dependencies in requirements.txt:

Flask==0.10.1

Next, up, Dockerfile:

FROM jusbrasil/python-web

CMD ['python', 'app.py']

About

Docker base image for Python web applications in JusBrasil.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •