forked from LiveCarta/BookConverter
18 lines
415 B
Docker
18 lines
415 B
Docker
FROM python:3
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y software-properties-common
|
|
|
|
RUN add-apt-repository -r ppa:libreoffice/ppa
|
|
RUN apt-get update
|
|
RUN apt-get -y install libreoffice
|
|
|
|
COPY requirements.txt /app/
|
|
RUN pip install -r /app/requirements.txt
|
|
COPY . /app/
|
|
|
|
WORKDIR /app/
|
|
VOLUME /app/logs
|
|
|
|
CMD python /app/src/util/check_packs.py && python /app/src/util/check_dirs.py && python /app/src/consumer.py
|