This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
FROM python:3
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
VOLUME /data
|
||||
VOLUME /chart
|
||||
VOLUME /text
|
||||
|
||||
ENV SEARCHDIR /data
|
||||
ENV CHARTDIR /chart
|
||||
ENV TEXTDIR /text
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt && rm requirements.txt
|
||||
|
||||
COPY make_graphs.py .
|
||||
|
||||
CMD ["python3", "make_graphs.py"]
|
||||
ENTRYPOINT ["python3", "make_graphs.py"]
|
Reference in New Issue
Block a user