1
0
Fork 0
rspamd_exporter/Dockerfile

11 lines
266 B
Docker
Raw Permalink Normal View History

2020-09-15 10:22:03 +00:00
FROM reg.zknt.org/zknt/python
COPY requirements.txt /app/requirements.txt
WORKDIR /app
RUN apk add --no-cache libffi && pip3 install -r requirements.txt && apk del libffi
COPY . /app
ENV FLASK_APP=rspamd_exporter.py
EXPOSE 5000
ENTRYPOINT flask run --host=0.0.0.0