FROM python:3.9 RUN pip install \ poetry WORKDIR /usr/src/ COPY . /usr/src/ RUN poetry update && poetry install # Set the default command to bash. CMD ["bash"]