8 lines
148 B
Docker
8 lines
148 B
Docker
From python:3.11
|
|
RUN pip install flask
|
|
WORKDIR /app
|
|
COPY hello-world/app.py .
|
|
ENV FLASK_APP=app.py
|
|
ENV FLASK_RUN_HOST=0.0.0.0
|
|
CMD ["flask", "run"]
|
|
|