Skip to content

Commit

Permalink
dockerized application for putting it in AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
akram-rameez committed Mar 18, 2016
1 parent 2f3d241 commit 5b963ce
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM node:argon

# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

# Install app dependencies
COPY package.json /usr/src/app/
RUN npm install

# Bundle app source
COPY . /usr/src/app

EXPOSE 8080
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
web:
build: .
ports:
- "8000:80"
- "8181:443"
command: node src/index.js

0 comments on commit 5b963ce

Please sign in to comment.