mirror of
https://github.com/Maks1mS/altlinux-autorepacked.git
synced 2024-12-23 14:42:59 +03:00
18 lines
397 B
Docker
18 lines
397 B
Docker
FROM registry.altlinux.org/alt/python:p10
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
wget \
|
|
apt-repo-tools \
|
|
alien \
|
|
pip \
|
|
epm
|
|
# wget -O- https://eepm.ru/epm.sh | bash /dev/stdin ei
|
|
|
|
COPY requirements.txt .
|
|
RUN pip --no-cache-dir install -r requirements.txt
|
|
|
|
COPY ./autorepacked ./autorepacked
|
|
|
|
ENV PYTHONPATH "${PYTHONPATH}:."
|
|
|
|
CMD ["python3", "-u", "./autorepacked/main.py"] |