altlinux-autorepacked/Dockerfile

18 lines
379 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 \
eepm \
2024-01-16 22:46:39 +03:00
wget \
apt-repo-tools \
alien \
pip
2024-01-16 17:32:13 +03:00
# && rm -rf /var/lib/apt/lists/*
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"]