Sign inSign up

zhangtemplar/docker-python-eve

By zhangtemplar

•Updated almost 8 years ago

Python eve from nicolaevladescu/python-eve however updated the port from 8000 to 5000.

Image
0

221

zhangtemplar/docker-python-eve repository overview

⁠Dockerized python-eve⁠

Docker Stars Docker Pulls

⁠What's inside

⁠Tags

  1. 2.7 : (2.7.12/Dockerfile)⁠
  2. 3.5 : (3.5.2/Dockerfile)⁠

⁠Usage

Pull it from the official docker registry:

docker pull nicolaevladescu/python-eve:<tag>

Test that python is installed and working:

docker run --rm --name python-eve nicolaevladescu/python-eve:2.7 python --version

The default CMD runs a python main.py from /src.

You can mount a folder from the host to /src and run it with the default CMD.

docker run --detach --volume $(pwd):/src --name python-eve nicolaevladescu/python-eve:2.7

Or run a file other than main.py:

docker run --detach --volume $(pwd):/src --name python-eve nicolaevladescu/python-eve:2.7 python run.py

⁠To-do

  • Replace gosu with su-exec because it's only 10KB instead of 1.8MB.

Tag summary

Content type

Image

Digest

Size

33.5 MB

Last updated

almost 8 years ago

docker pull zhangtemplar/docker-python-eve:2.7.12