Complete the code to specify the base image in a Dockerfile for a Django app.
FROM [1]The base image python:3.12-slim is suitable for running Django apps with Python 3.12.
Complete the command to install Django inside the Docker container.
RUN pip install [1]We install django because it is the framework we want to run inside the container.
Fix the error in the Dockerfile command to copy the project files.
COPY [1] /app/Using . copies all files from the current directory into the container's /app/ folder.
Fill both blanks to expose the Django default port and set the working directory.
EXPOSE [1] WORKDIR [2]
Django's default development server runs on port 8000, and setting WORKDIR /app sets the working directory inside the container.
Fill all three blanks to run the Django development server with correct options.
CMD ["python", "[1]", "[2]", "0.0.0.0:[3]"]
The command runs python manage.py runserver 0.0.0.0:8000 to start the Django server accessible from outside the container.