Docker + Python Flask Was Set-up : Sample Post

Email IconExcel IconBedrock Icon

https://medium.com/@andreajrubino/run-the-simplest-web-app-in-docker-23df528e8b8

Dockefile : 

FROM python:3.10.0-slim-buster
WORKDIR /flask-simple-app
COPY . .
RUN pip install -r requirements.txt
CMD [ “python3”, “-m” , “flask”, “run”, “–host=0.0.0.0”]

requirements.tx

Flask==2.3.2

 

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

0
Would love your thoughts, please comment.x
()
x