FROM ubuntu:22.10
RUN mkdir -p /app/data/ /app/mirrortea/
WORKDIR /app
RUN apt-get update --yes
RUN apt-get install --yes python3 python3-pip
COPY requirements.txt /app/
RUN pip3 install -r requirements.txt
COPY mirrortea/* /app/mirrortea/
COPY config.yaml /app/
ENTRYPOINT ["/usr/bin/python3", "/app/mirrortea"]