Skip to content
Permalink
Browse files

Adding Docker file for all the hipsters

  • Loading branch information...
Burke Holland Burke Holland
Burke Holland authored and Burke Holland committed Aug 1, 2017
1 parent c581c9f commit a964dc4e6c738c534649a7b20c74e5126858f5d5
Showing with 18 additions and 0 deletions.
  1. +2 −0 .dockerignore
  2. +16 −0 Dockerfile
@@ -0,0 +1,2 @@
server/node_modules
server/npm-debug.log
@@ -0,0 +1,16 @@
FROM mhart/alpine-node

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

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

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

ENV PORT 80

CMD [ "npm", "start" ]

0 comments on commit a964dc4

Please sign in to comment.
You can’t perform that action at this time.