VersaWhiteboard/Dockerfile

18 lines
246 B
Docker
Raw Permalink Normal View History

2019-01-11 09:39:40 +01:00
FROM node:11
2018-02-08 17:45:07 +01:00
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
2019-02-04 19:53:23 +01:00
EXPOSE 8080
2019-01-11 09:39:40 +01:00
CMD [ "npm", "start" ]