plack-async.dockerfile 320 B

1234567891011
  1. FROM perl:latest
  2. RUN apt update -yqq && apt install -yqq nginx
  3. RUN cpanm --notest --no-man-page Plack JSON::XS Unix::Processors DBI DBD::mysql
  4. RUN cpanm --notest --no-man-page Cookie::Baker::XS Twiggy::Prefork HTTP::Parser::XS EV AnyEvent::DBI
  5. ADD nginx.conf ./
  6. ADD app.pl ./
  7. ADD app-async.psgi ./
  8. CMD perl app.pl -a