plack.dockerfile 290 B

12345678910111213
  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::mysql
  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