Dockerfile 443 B

1234567891011121314151617181920212223
  1. FROM python:3.9.2-slim-buster
  2. WORKDIR /app
  3. ENV PIP_NO_CACHE_DIR 1
  4. # Pypi package Repo upgrade
  5. RUN pip3 install --upgrade pip setuptools
  6. # copy the dependencies file to the working directory
  7. COPY requirements.txt .
  8. # install dependencies
  9. RUN pip install -r requirements.txt
  10. # copy the content of the local src directory to the working directory
  11. COPY . .
  12. RUN cp sample_config.py config.py
  13. # Starting Worker
  14. CMD ["python3", "-m", "wbb"]