From 8f8860c53687955854d8264ccb23a9a656a95856 Mon Sep 17 00:00:00 2001 From: Joost Plattel Date: Thu, 25 Oct 2018 11:56:51 +0200 Subject: [PATCH] added a Dockerfile --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..2f8d2d5c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM python:3.6 + +# Use /code for the environment +RUN mkdir -p /code +COPY requirements.txt /code +WORKDIR /code + +# Install ghostscript & other requirements +RUN apt-get update && apt-get -y install ghostscript && apt-get clean +RUN pip install -r requirements.txt + +# Copy this dir to and install camelot locally +COPY . /code +RUN pip install . + +ENTRYPOINT ["camelot"]