diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5b93afd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +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 \ + git \ + liblwp-protocol-https-perl \ + && 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"] |