FROM python:3-slim # install stuff RUN pip install pika # Setup worker RUN mkdir -p /deploy COPY worker.py /deploy/worker.py # Conf worker USER 1337 ENTRYPOINT ["python3", "/deploy/worker.py"]