You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
378 B

5 years ago
5 years ago
5 years ago
  1. {
  2. "schemaVersion" :2 ,
  3. "dockerfileLines": [
  4. "FROM node:dubnium-jessie",
  5. "RUN mkdir -p /usr/src/app",
  6. "WORKDIR /usr/src/app",
  7. "COPY ./package.json /usr/src/app/",
  8. "RUN npm install && npm cache clean --force",
  9. "COPY ./ /usr/src/app",
  10. "ENV NODE_ENV production",
  11. "ENV PORT 8000",
  12. "EXPOSE 8000",
  13. "CMD [ \"npm\", \"start\" ]"
  14. ]
  15. }