1
0
mirror of https://github.com/fhamborg/news-please.git synced 2021-09-19 22:26:00 +03:00

add docker script for cc

This commit is contained in:
Felix Hamborg
2019-07-15 15:20:06 +02:00
parent f1e3f87ad8
commit 1231e68d76
2 changed files with 10 additions and 0 deletions

8
cc-docker/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM python:3.6
RUN pip3 install news-please --upgrade
COPY docker.sh /
RUN chmod +x /docker.sh
CMD ["/docker.sh"]

2
cc-docker/docker.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
news-please-cc ~/down/warcs ~/down/articles keep