Question 51 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question 51 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question

DRAG DROP -

1 python:3.6-alpine
2
3 pip install -r requirements.txt

4 5001
5 [‘python”, “app.py”]

Refer to the exhibit.

Drag and drop the correct parts of the Dockerfile from the left onto the item numbers on the right that match the missing sections in the exhibit to complete the Dockerfile to successfully build and deploy a container running a Python application.

Not all parts of the Dockerfile are used.

Select and Place:

Answer Area

ENV

CMD

RUN

COPY

VOLUME

FROM

WORKDIR

EXPOSE

Explanations

Answer Area

ENV FROM
CMD COPY
RUN RUN
COPY EXPOSE
VOLUME CMD
FROM
WORKDIR

EXPOSE