This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
BookConverter/Dockerfile
2020-04-10 17:04:30 +03:00

20 lines
453 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
# VOLUME /app/html
# VOLUME /app/json
CMD python /app/src/util/check_packs.py && python /app/src/util/check_dirs.py && python /app/src/consumer.py