apps.Dockerfile 488 B

12345678910111213141516171819
  1. FROM node:12 as builder
  2. WORKDIR /joystream
  3. COPY . /joystream
  4. RUN rm -fr /joystream/pioneer
  5. # Replaced by "integration-tests" on Olympia
  6. RUN rm -fr /joystream/tests/network-tests
  7. ARG TYPEGEN_WS_URI
  8. # Do not set NODE_ENV=production until after running yarn install
  9. # to ensure dev dependencies are installed.
  10. RUN yarn --frozen-lockfile
  11. # @joystream/types are built during postinstall
  12. RUN yarn workspace storage-node build
  13. RUN yarn workspace query-node-root build
  14. ENTRYPOINT [ "yarn" ]