Skip to content

Commit

Permalink
Added Dockerfile and .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Algram committed Aug 29, 2016
1 parent e2b3569 commit 81d4fa4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# Dockerfile for ytdl-webserver
#
FROM node:latest

RUN mkdir -p /home/app
WORKDIR /home/app

COPY . /home/app
RUN npm install
RUN npm build


EXPOSE 3000
CMD [ "npm", "run", "hapi" ]

0 comments on commit 81d4fa4

Please sign in to comment.