You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
325 B
12 lines
325 B
FROM python:3.11.1-alpine3.17
|
|
|
|
RUN adduser -D app && apk update && apk add fetchmail runuser
|
|
|
|
COPY ./requirements.txt /home/app/requirements.txt
|
|
COPY ./pmml.py /home/app/pmml.py
|
|
COPY ./entrypoint.sh /home/app/entrypoint.sh
|
|
|
|
ENV POLL_INTERVAL=60
|
|
RUN pip install -r /home/app/requirements.txt
|
|
|
|
CMD ["/home/app/entrypoint.sh"]
|
|
|