From 7d9784bb1b5afda3de75d76d72fd83cc2cbc3f04 Mon Sep 17 00:00:00 2001 From: Ali Razmjoo Date: Fri, 8 Dec 2017 15:36:24 +0330 Subject: [PATCH] Create Dockerfile --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..3bd10883 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM python:2.7-alpine +RUN apk add --no-cache python pkgconfig python-dev openssl-dev libffi-dev musl-dev make gcc +WORKDIR /usr/src/app +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt +COPY . . +CMD [ "python", "./nettacker.py", "--help" ] \ No newline at end of file