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