FROM python:3.9 WORKDIR /code COPY ./requirements.txt /code/requirements.txt COPY ./test.py /code/test.py RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt RUN python3 test.py