Flask - Deployment
What is the role of the
EXPOSE instruction in a Dockerfile for a Flask application?EXPOSE instruction in a Dockerfile for a Flask application?EXPOSE instruction informs Docker which network port the container will listen on when running.COPY, installing dependencies by RUN pip install, and environment variables by ENV. None of these are related to EXPOSE.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions