Allow building Docker image via docker-compose build

This commit is contained in:
Marcin Kulik 2017-04-15 22:50:08 +02:00
parent 2f4c2cd826
commit dba6a45cc8

View File

@ -31,6 +31,7 @@ services:
### configuration options for this image.
sidekiq:
build: .
image: asciinema/asciinema.org
container_name: asciinema_worker
links:
@ -51,6 +52,7 @@ services:
### options for this image.
web:
build: .
image: asciinema/asciinema.org
container_name: asciinema_web
links:
@ -66,6 +68,7 @@ services:
- /tmp/asciinema/uploads:/app/uploads
db_init:
build: .
image: asciinema/asciinema.org
links:
- redis