体验新版 GitCode,发现更多精彩内容 >>
FROM node:7.9-alpine WORKDIR /usr/src/app ARG NODE_ENV ENV NODE_ENV $NODE_ENV COPY package.json /usr/src/app/ RUN npm install && npm cache clean COPY . /usr/src/app CMD [ "npm", "start" ] # replace this with your application's default port EXPOSE 8888