k8s-cronjob-prescaler/initcontainer/Dockerfile

5 строки
126 B
Docker

FROM python:3
COPY main.py /
COPY requirements.txt /
RUN pip install -r requirements.txt
CMD [ "python", "-u", "main.py" ]