mirror of https://github.com/ekimekim/wubloader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
433 B
Docker
16 lines
433 B
Docker
FROM debian:latest
|
|
|
|
RUN apt update &&\
|
|
apt install -y python3 libpq-dev python3-pip curl unzip ffmpeg
|
|
|
|
COPY ../common /tmp/common
|
|
RUN pip install /tmp/common && rm -r /tmp/common
|
|
|
|
COPY buscribe /tmp/buscribe
|
|
RUN pip install /tmp/buscribe && rm -r /tmp/buscribe && \
|
|
mkdir /usr/share/buscribe && cd /usr/share/buscribe
|
|
|
|
COPY models/extracted /usr/share/buscribe
|
|
|
|
ENTRYPOINT ["python3", "-m", "buscribe", "--base-dir", "/mnt"]
|