Added build from dockerfile using docker-compose

This commit is contained in:
Jorge Henrique 2018-02-17 00:16:11 -03:00
parent 6b3376ca12
commit 2d06aff7cf
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ version: '2'
services: services:
web: web:
build: . build: .
# build from Dockerfile
context: ./Path
dockerfile: Dockerfile
ports: ports:
- "5000:5000" - "5000:5000"
volumes: volumes: