altlinux-autorepacked/Dockerfile

18 lines
397 B
Docker
Raw Normal View History

2024-01-16 17:32:13 +03:00
FROM registry.altlinux.org/alt/python:p10
RUN apt-get update && apt-get install -y \
2024-01-16 22:46:39 +03:00
wget \
apt-repo-tools \
alien \
2024-01-21 12:41:50 +03:00
pip \
epm
# wget -O- https://eepm.ru/epm.sh | bash /dev/stdin ei
2024-01-16 17:32:13 +03:00
2024-01-16 22:46:39 +03:00
COPY requirements.txt .
RUN pip --no-cache-dir install -r requirements.txt
2024-01-16 17:32:13 +03:00
COPY ./autorepacked ./autorepacked
ENV PYTHONPATH "${PYTHONPATH}:."
CMD ["python3", "-u", "./autorepacked/main.py"]