routeros-exporter/Dockerfile

15 lines
246 B
Docker
Raw Permalink Normal View History

2021-05-29 21:14:26 +00:00
#
# Dockerfile
#
FROM python:alpine
MAINTAINER Yann Verry <docker@verry.org>
2021-05-29 21:31:56 +00:00
WORKDIR /app
COPY Pipfile Pipfile.lock main.py /app/
2021-05-29 21:14:26 +00:00
RUN pip install --no-cache-dir pipenv && \
pipenv install --system --deploy
USER nobody
2021-05-29 21:31:56 +00:00
CMD python /app/main.py