From 386d56a20e2ba1f98bde896897cc4e96b6dd75dc Mon Sep 17 00:00:00 2001 From: Markus Witt Date: Sat, 13 Apr 2019 23:49:49 +0200 Subject: Add a basic docker file --- Dockerfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b8dd2d7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,30 @@ +FROM debian:stretch + +RUN apt-get update && apt-get install -y \ + cpanminus \ + build-essential \ + libpq-dev \ + git \ + ssmtp + +RUN cpanm -in \ + Cache::File \ + Crypt::Eksblowfish \ + DateTime \ + DateTime::Format::Strptime \ + DBI \ + DBD::Pg \ + Email::Sender \ + Geo::Distance \ + Geo::Distance::XS \ + Mojolicious \ + Mojolicious::Plugin::Authentication \ + Travel::Status::DE::IRIS \ + UUID::Tiny \ + JSON + +COPY . /app +WORKDIR /app + + +CMD /app/docker-run.sh \ No newline at end of file -- cgit v1.2.3