e74f730d7a
Add initiall commit that tests metrics reading using prometheus on docker Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
12 lines
280 B
Docker
12 lines
280 B
Docker
FROM python:3.8.4-slim
|
|
|
|
RUN apt update && apt install -y wait-for-it && \
|
|
pip install --upgrade pip && \
|
|
pip install nameko nameko-prometheus
|
|
|
|
COPY . /var/run/my_service
|
|
|
|
WORKDIR /var/run/my_service
|
|
|
|
CMD ["nameko", "run", "service:HTTPService", "--config", "config.yaml"]
|