Уже почти всё настроено (но с node-dev-server есть траблы)

This commit is contained in:
ErickSkrauch
2016-05-05 11:15:53 +03:00
parent 256d2322c6
commit 847a610d4b
3 changed files with 24 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM node:5.11
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json /usr/src/app/
RUN npm i
# Bundle app source
COPY . /usr/src/app
EXPOSE 8080
CMD ["npm", "start"]