content: FROM rabbitmq:3.9.16-management-alpine
  
  RUN apk update && \
      apk add --no-cache python3 py3-pip && \
      rm -rf /var/cache/apk/*
  
  RUN python3 -m pip install pika
  
  COPY ./producer/producer.py producer.py
  COPY ./lib/middleware.py middleware.py
  
  CMD ["python3", "producer.py"]