FROM python:3 COPY requirements.txt /src/ RUN pip install --no-cache-dir -r /src/requirements.txt COPY main.py /src/ ENTRYPOINT ["/usr/local/bin/python"] CMD ["/src/main.py"]