mirror of
https://github.com/fhamborg/news-please.git
synced 2021-09-19 22:26:00 +03:00
Dockerize
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM python:3.6.5-alpine3.7
|
||||
|
||||
RUN apk add -U --no-cache curl git make gcc python-dev libffi-dev musl-dev libxml2-dev libxslt-dev openssl-dev zlib-dev jpeg-dev
|
||||
RUN git clone https://github.com/fhamborg/news-please.git /news-please
|
||||
RUN cd /news-please && pip3 install -r requirements.txt
|
||||
|
||||
COPY docker.sh /
|
||||
RUN chmod +x /docker.sh
|
||||
|
||||
CMD ["/docker.sh"]
|
||||
Reference in New Issue
Block a user