Skip to content

Commit

Permalink
Add Docker configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dajvido committed Mar 28, 2019
1 parent 8741268 commit 3e8fedd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .dockerignore
@@ -0,0 +1,6 @@
dist
node_modules
.dockerignore
Dockerfile
npm-debug.log
.git
11 changes: 11 additions & 0 deletions Dockerfile
@@ -0,0 +1,11 @@
FROM node:10.12-alpine

RUN npm install -g gulp yarn

ADD . /app

WORKDIR /app

RUN yarn

CMD [ "gulp" ]
7 changes: 7 additions & 0 deletions docker-compose.yml
@@ -0,0 +1,7 @@
version: '3'
services:
web:
build: .
ports:
- "9000:9000"
- "3001:3001"

0 comments on commit 3e8fedd

Please sign in to comment.