1 2 3 4 5 6
FROM docker.io/python:3.7-alpine ADD . /code WORKDIR /code RUN pip install -r requirements.txt ENV FLASK_APP cs.py CMD ["python3", "-m", "flask", "run", "--host=0.0.0.0"]