2023-01-07 19:51:14 +00:00
|
|
|
FROM ubuntu:22.10
|
2023-01-08 20:39:15 +00:00
|
|
|
RUN mkdir -p /app/data/ /app/mirrortea/
|
2023-01-07 19:51:14 +00:00
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update --yes
|
|
|
|
RUN apt-get install --yes python3 python3-pip
|
2023-01-08 13:17:37 +00:00
|
|
|
COPY requirements.txt /app/
|
2023-01-07 19:51:14 +00:00
|
|
|
RUN pip3 install -r requirements.txt
|
2023-01-08 13:17:37 +00:00
|
|
|
COPY mirrortea/* /app/mirrortea/
|
|
|
|
ENTRYPOINT ["/usr/bin/python3", "/app/mirrortea"]
|