mirror of
https://gitlab.com/fabinfra/fabaccess/prometheus-exporter.git
synced 2024-12-22 04:23:49 +01:00
9 lines
237 B
Docker
9 lines
237 B
Docker
FROM ubuntu:22.04
|
|
RUN apt-get update && apt-get upgrade -y
|
|
RUN apt-get install -yqq --no-install-recommends python3 python3-pip
|
|
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN pip3 install -r requirements.txt
|
|
RUN chmod u+x main.py
|
|
ENTRYPOINT ["/app/main.py"] |