Dockerize everything! ^_^

This commit is contained in:
2016-06-21 21:42:46 +01:00
parent e489412585
commit b0436f443c
3 changed files with 24 additions and 2 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:5.11.1
RUN mkdir /app
WORKDIR /app
COPY package.json /app/
RUN npm install
COPY . /app
ENV PORT=80
EXPOSE $PORT
CMD ["npm", "start"]