Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/icoz/habraparse.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricoz <icoz.vt@gmail.com>2017-01-15 03:15:14 +0300
committericoz <icoz.vt@gmail.com>2017-01-15 03:15:14 +0300
commit8cd076fe9f58bdab7e45c54a6d5a035eb4fb2264 (patch)
tree29363073acebf9e9928dc3ebc9996789150d025b
parentd519e4d8343982715cdc140030e8d2deec8c115f (diff)
fixed Dockerfile
-rw-r--r--Dockerfile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index fc77a07..4c4d715 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,7 @@
FROM python:3
MAINTAINER icoz <icoz.vt@gmail.com>
-RUN pip install weasyprint
-RUN pip install requests
-RUN pip install docopt
-RUN git clone https://github.com/icoz/habraparse.git
+RUN git clone https://github.com/icoz/habraparse.git && cd habraparse && pip install -r requirements.txt
-ENTRYPOINT ['python3', '/habraparse/habraparse.py']
-CMD ['-h']
+ENTRYPOINT ["python3", "/habraparse/habraparse.py"]
+CMD ["-h"]