FROM python:3.10-buster ENV BOT_NAME=$BOT_NAME WORKDIR /usr/src/app/"${BOT_NAME}" COPY requirements.txt /usr/src/app/"${BOT_NAME}" RUN pip install -r /usr/src/app/"${BOT_NAME}"/requirements.txt COPY . /usr/src/app/"${BOT_NAME}" CMD python3 -m bot