add Dockerfile and docker-compose.yml

This commit is contained in:
Josh
2018-06-20 15:24:39 -04:00
parent 8790640fb0
commit 78976f3f51
4 changed files with 73 additions and 0 deletions

14
docker-compose.yml Normal file
View File

@ -0,0 +1,14 @@
version: '3'
services:
app:
entrypoint: [bin/start]
image: joshblind/greenlight:latest
container_name: greenlight-web
env_file: .env
restart: unless-stopped
ports:
- 6000:3000
volumes:
- ./db/production:/usr/src/app/db/production
- ./log:/usr/src/app/log