stream.dockerfile 267 B

1234567891011121314
  1. FROM google/dart:1.24
  2. RUN apt-get update -yqq && apt-get install -yqq nginx
  3. ADD ./ /stream
  4. WORKDIR /stream
  5. RUN pub upgrade
  6. RUN chmod -R 777 /stream
  7. CMD ./nginx-conf.sh && \
  8. ./start-servers.sh && \
  9. sleep 20 && nginx -c /stream/nginx.conf -g "daemon off;"