diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-05 11:22:38 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-05 11:22:38 +0200 |
commit | 8c23c960426bad133484bf127f5fc5b56af8e8c7 (patch) | |
tree | d96d4ef00707088913fed0b97fb03eb56a2064c0 /Dockerfile | |
parent | 4696f8d68e130632cbcdb14c2bb1dfe71355e9f6 (diff) | |
parent | a1a0f33cab731eb60051af6bd5ae78cd6660b76f (diff) |
Merge branch 'feuerrot-dockerize'
Addresses #4
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..289660a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +FROM debian:stretch-slim + +ARG DEBIAN_FRONTEND=noninteractive + +COPY cpanfile /app/cpanfile +WORKDIR /app + +RUN apt-get update && apt-get install --no-install-recommends -y \ + cpanminus \ + build-essential \ + libpq-dev \ + git \ + cron \ + && cpanm -in --no-man-pages --installdeps . \ + && rm -rf ~/.cpanm \ + && apt-get purge -y \ + build-essential \ + cpanminus \ + && apt-get autoremove -y + +COPY . /app + +CMD ["/app/docker-run.sh"] |