Files
Rodney Osodo e74f730d7a refactor(docker): Add docker demo
Add initiall commit that tests metrics reading using prometheus on docker

Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
2024-07-09 23:38:48 +03:00

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"]