stream.dockerfile 259 B

1234567891011121314
  1. FROM google/dart:1.24
  2. RUN apt update -yqq && apt 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;"