Created
August 11, 2017 07:43
-
-
Save StephaneTrebel/8d7838573bc31f437ad6f3d301675f21 to your computer and use it in GitHub Desktop.
Docker as a dev platform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 make your app listen on a port while serving (here we'll use the common 8100 port) | |
# 2 Run | |
sudo docker run -it -p 8100:8100 -v /local_project_folder:/docker_project_folder -e ENV_VAR=content -e ANOTHER_ENV_VAR=anothercontenxt image_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment