FROM python:3.9.2-slim-buster WORKDIR /app ENV PIP_NO_CACHE_DIR 1 # Pypi package Repo upgrade RUN pip3 install --upgrade pip setuptools # copy the dependencies file to the working directory COPY requirements.txt . # install dependencies RUN pip install -r requirements.txt # copy the content of the local src directory to the working directory COPY . . RUN cp sample_config.py config.py # Starting Worker CMD ["python3", "-m", "wbb"]