FROM python WORKDIR /opt/demo/ COPY requirements.txt . RUN apt-get -y update && apt-get -y upgrade RUN pip install -r requirements.txt COPY /src . CMD [ "python", "main.py" ]