FROM node:8.11-alpine WORKDIR /usr/src/app ARG NODE_ENV ENV NODE_ENV $NODE_ENV COPY package*.json /usr/src/app/ RUN npm install COPY . /usr/src/app EXPOSE 5000 CMD [ "npm", "start" ]