add checking for directories

This commit is contained in:
Jeniamakarchik
2020-02-25 12:58:24 +03:00
parent a080cb962b
commit 70575c803d
2 changed files with 36 additions and 5 deletions

View File

@@ -12,10 +12,6 @@ RUN pip install -r /app/requirements.txt
COPY . /app/
WORKDIR /app/
RUN mkdir -p /app/logs
RUN mkdir -p /app/docx
RUN mkdir -p /app/json
RUN mkdir -p /app/html
VOLUME /app/logs
CMD python /app/src/consumer.py
CMD python /app/src/util/check_dirs.py && python /app/src/consumer.py