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.

24 lines
429 B

FROM python:3.9-slim
ARG UID
ARG GID
ENV DEBIAN_FRONTEND noninteractive
ADD edmond /app/edmond
WORKDIR /app
RUN pip install requests irc
RUN pip install -r plugins-requirements.txt
RUN groupadd --gid ${GID} edmond
RUN useradd --uid ${UID} --gid edmond \
--shell /usr/sbin/nologin --create-home --no-log-init \
edmond
ENV DEBIAN_FRONTEND teletype
STOPSIGNAL SIGINT
USER edmond
ENTRYPOINT ["python", "-m", "edmond"]