FROM python:2.7 ADD ./requirements.txt /app/requirements.txt ADD ./Proj/python/ /app/ ADD ./Proj/utils/ /app/ WORKDIR /app/ RUN chmod +x -R /app RUN pip install --no-cache-dir -r requirements.txt # configuration and startup ENV OBSERVED_DB_NAME="test" \ OBSERVED_COLL_NAME="testcoll" CMD ["python", "./trigger.py"]