add docker
This commit is contained in:
parent
ffd7e4f3b4
commit
268be1aff7
3
Dockerfile
Normal file
3
Dockerfile
Normal 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
10
docker-compose.yml
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user