/containerized_python_developer_setup

Containerized Python developer setup

Primary LanguageDockerfile

Containerized Python developer setup

Usage

For production

Build:

docker build -t mypythonapp:prod .

Run:

docker run --rm --name pythonapp mypythonapp:prod

For development

Build:

docker build -t mypythonapp:dev --target dev .

Run:

docker run --rm --volume ${PWD}:/app --publish 8888:8888 --name pythonapp mypythonapp:dev