Create Python Flask Docker Container
Create a folder and change to the folder mkdir python-flask cd python-flask Create file vi Dockerfile Add following content FROM python:2.7-slim WORKDIR /app COPY . /app RUN pip install -r requirements.txt EXPOSE 8080 CMD [“python”, “app.py”] Create file requirements.txt, add “Flask” to it. echo “Flask” > requirments.txt Now lets create our Python Flask Application vi … Read more