Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

flask docker

FROM python:alpine3.7 
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt # Write Flask in this file
EXPOSE 5001 
ENTRYPOINT [ "python" ] 
CMD [ "app.py" ]
 
PREVIOUS NEXT
Tagged: #flask #docker
ADD COMMENT
Topic
Name
9+3 =