11 lines
266 B
Docker
11 lines
266 B
Docker
|
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
|