Dockerfile 196 Bytes
Newer Older
kaiyou's avatar
kaiyou committed
1 2 3 4 5 6 7 8 9 10 11 12
FROM python:3

COPY . /app

WORKDIR /app
RUN pip install -r requirements-prod.txt \
 && useradd amonit

USER amonit

ENV AMONIT_CONFIG /amonit.yaml

kaiyou's avatar
kaiyou committed
13 14
ENTRYPOINT python -m amonit.cli
CMD standalone