Create Dockerfile

This commit is contained in:
Ali Razmjoo 2017-12-08 15:36:24 +03:30
parent dc67851ace
commit 7d9784bb1b
1 changed files with 7 additions and 0 deletions

7
Dockerfile Normal file
View File

@ -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" ]