Dockerfile 280 Bytes
Newer Older
1
FROM python:3.8-buster
2

3
RUN apt update -y && apt-get install ansible -y
4

5 6 7 8 9 10 11 12 13
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY requirements.txt /usr/src/app/

RUN pip3 install --no-cache-dir -r requirements.txt

COPY . /usr/src/app

14
CMD python3 __main__.py $RABBITMQ_HOST deployer