Created
October 27, 2017 17:05
-
-
Save francois2metz/2d05b3ecff8db9dcd0aa1e47f0640fb1 to your computer and use it in GitHub Desktop.
My docker config
This file contains hidden or 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
# Docker and ruby stuff | |
alias docker-ruby='docker run --rm -ti -v $(pwd):/code -w /code -e BUNDLE_APP_CONFIG=/code/.bundle ruby:2.4' | |
# node stuff | |
alias docker-node='docker run --rm -ti -v $(pwd):/code -w /code node:8' | |
# elixir | |
alias docker-elixir='docker run --rm -ti -v $(pwd):/code -w /code elixir:latest' | |
# golang | |
alias docker-golang='docker run --rm -ti -v $(pwd):/code -w /code golang:1.8.0' | |
# nginx | |
alias docker-nginx='docker run --rm -ti -p 8080:80 -v $(pwd):/usr/share/nginx/html:ro nginx' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment