Dockerfile 250 B

1234567891011
  1. FROM python:3.10-buster
  2. ENV BOT_NAME=$BOT_NAME
  3. WORKDIR /usr/src/app/"${BOT_NAME}"
  4. COPY requirements.txt /usr/src/app/"${BOT_NAME}"
  5. RUN pip install -r /usr/src/app/"${BOT_NAME}"/requirements.txt
  6. COPY . /usr/src/app/"${BOT_NAME}"
  7. CMD python3 -m bot