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-02-25 11:45:56 +03:00

22 lines
430 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/
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