2020-10-23 02:00:42 +02:00
|
|
|
FROM python:3
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
VOLUME /data
|
|
|
|
VOLUME /chart
|
|
|
|
VOLUME /text
|
|
|
|
|
|
|
|
ENV SEARCHDIR /data
|
|
|
|
ENV CHARTDIR /chart
|
|
|
|
ENV TEXTDIR /text
|
|
|
|
|
2020-10-23 18:41:57 +02:00
|
|
|
RUN apt update && apt install -y python3-matplotlib && apt clean && pip3 install --no-cache-dir sentry_sdk
|
2020-10-23 02:00:42 +02:00
|
|
|
|
|
|
|
COPY make_graphs.py .
|
|
|
|
|
|
|
|
CMD ["python3", "make_graphs.py"]
|
|
|
|
ENTRYPOINT ["python3", "make_graphs.py"]
|