plack.dockerfile 293 B

1234567891011121314
  1. FROM perl:latest
  2. RUN apt-get update -yqq && apt-get install -yqq nginx
  3. RUN cpanm --notest --no-man-page Plack JSON::XS Unix::Processors DBI DBD::MariaDB
  4. RUN cpanm --notest --no-man-page Gazelle Cookie::Baker::XS
  5. ADD nginx.conf ./
  6. ADD app.pl ./
  7. ADD app.psgi ./
  8. EXPOSE 8080
  9. CMD perl app.pl