Dockerfile 203 B

1234567891011
  1. FROM python:3.7-slim
  2. RUN pip install flask pymongo
  3. COPY src/database_interface.py /
  4. #CMD env FLASK_APP=/database_interface.py flask run --host 0.0.0.0
  5. CMD python /database_interface.py
  6. EXPOSE 5000