accounts-frontend/Dockerfile

15 lines
208 B
Docker
Raw Normal View History

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"]