| 12345678910111213141516171819 |
- FROM python:3.9.2-slim-buster
- 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 . .
- # Starting Worker
- CMD ["python3", "-m", "wbb"]
- EXPOSE 8000
|