Complete the Dockerfile line to expose port 80.
EXPOSE [1]The EXPOSE instruction tells Docker which port the container listens on at runtime. Port 80 is the default HTTP port.
Complete the Dockerfile line to expose port 5432 for a PostgreSQL database.
EXPOSE [1]Port 5432 is the default port for PostgreSQL database connections.
Fix the error in the Dockerfile line to expose port 5000 (remove the wrong character).
EXPOSE [1]The EXPOSE instruction should have only the port number without extra characters. '5000/' is invalid syntax.
Fill both blanks to expose HTTP and HTTPS ports in the Dockerfile.
EXPOSE [1] [2]
Port 80 is for HTTP and port 443 is for HTTPS. Both are commonly exposed for web servers.
Fill all three blanks to expose ports for HTTP, PostgreSQL, and Redis.
EXPOSE [1] [2] [3]
Port 80 is for HTTP, 5432 for PostgreSQL, and 6379 for Redis. These are standard ports to expose for these services.