Skip to content

felipecruz91/python-dev-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-dev-env

This is an example of a Python-based Docker Dev Environment that shows how to set environment variables with regards this issue.

screenshot

Getting started

Open Docker Desktop and create a Dev Environment from https://github.com/felipecruz91/python-dev-env

dev-env-1

Clikc on Open in VSCode and run the python script within the dev container:

python -u hello_world.py

The script will print the value of the environment variable RUNNING_IN_CONTAINER.

The output should be 1 as it is the value set in the Dockerfile.devenv

About

Python-based Docker Dev Environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages