17 lines
246 B
Docker
17 lines
246 B
Docker
|
FROM node:boron
|
||
|
|
||
|
MAINTAINER cracker0dks
|
||
|
|
||
|
# Create app directory
|
||
|
RUN mkdir -p /opt/app
|
||
|
WORKDIR /opt/app
|
||
|
|
||
|
# Install app dependencies
|
||
|
COPY ./package.json /opt/app
|
||
|
RUN npm install
|
||
|
|
||
|
# Bundle app source
|
||
|
COPY . /opt/app
|
||
|
|
||
|
EXPOSE 80
|
||
|
CMD [ "npm", "start" ]
|