QuestionQ209
Application Deployment and SecurityAn engineer is building a Docker container for a Python application. For security reasons, the application must be accessible only on port 5001. Which line should be added to the Dockerfile to accomplish this?
- A ADD PORT 5001
- B ENTRYPOINT 5001
- C EXPOSE 5001
- D PORT SRC 5001
Community Discussion