add docker

This commit is contained in:
Anthony Metzidis 2017-10-20 14:08:09 -07:00
parent ffd7e4f3b4
commit 268be1aff7
2 changed files with 13 additions and 0 deletions

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM node:4-onbuild
# replace this with your application's default port
EXPOSE 7777

10
docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
version: '2'
services:
web:
build: .
env_file: .env
ports:
- "7777:7777"
volumes:
- ".:/usr/src/app"
command: "yarn run start:dev"