From 8070364c35c5e78d7c5f80cde3695e9b30218f09 Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Sun, 26 Nov 2017 16:07:54 +0100 Subject: [PATCH] introduce first draft of Dockerfile --- Dockerfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b6b155e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,24 @@ +FROM debian:stable-slim +LABEL \ + maintainer="Davide Alberani " \ + vendor="RaspiBO" + +EXPOSE 5242 + +RUN \ + apt-get update && \ + apt-get -y install \ + python3-cups \ + python3-dateutil \ + python3-pip \ + python3-pymongo \ + python3-tornado && \ + pip3 install eventbrite && \ + rm -rf /var/lib/apt/lists/* + +RUN mkdir -p /opt/eventman/ +COPY . /opt/eventman/ + +WORKDIR /opt/eventman/ +ENTRYPOINT ["./eventman_server.py"] +CMD ["--debug"]