Dockerfile 269 B

1234567
  1. FROM node:10
  2. WORKDIR /app
  3. ENV VERSION=master
  4. EXPOSE 8383
  5. RUN git clone --branch ${VERSION} https://github.com/LumberjackOtters/YellowLabTools ylt && cd ylt && yarn install && yarn build
  6. ENV NODE_ENV=production
  7. CMD ["node", "/app/ylt/bin/server.js"]