altlinux-autorepacked/Dockerfile

17 lines
394 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-17 13:47:54 +03:00
pip && \
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"]