From a6b970ec201b1f2ad7ec9bf3a12cef01f104fb3c Mon Sep 17 00:00:00 2001 From: Sam Sheffres Date: Mon, 1 Jan 2018 11:27:23 +0700 Subject: [PATCH] Add Dockerfile --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b45ee26 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM debian:sid + +ENV LANG C.UTF-8 +ENV USER root +ENV HOME /cloudfail +ENV DEBIAN_FRONTEND noninteractive + +RUN apt-get update + +RUN apt-get install -yq python3-pip + +COPY . $HOME + +WORKDIR $HOME + +RUN pip3 install -r requirements.txt + +ENTRYPOINT ["python3", "cloudfail.py"]