Skip to content

Instantly share code, notes, and snippets.

@atomaka
Created March 1, 2017 03:42
Show Gist options
  • Save atomaka/3fc70fbe17d135228bd0b2a9c20dd057 to your computer and use it in GitHub Desktop.
Save atomaka/3fc70fbe17d135228bd0b2a9c20dd057 to your computer and use it in GitHub Desktop.
docker-compose with build args
version: '2'
services:
app:
build:
context: .
args:
- BUNDLE_WITHOUT=
- RAILS_ENV=development
links:
- database
ports:
- "3000:8080"
env_file:
- .env
volumes:
- .:/app
tty: true
stdin_open: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment