Explore Library
Code QuizAdvanced

Containerizing a Model with Dockerfile

Catch the malformed pip command in a model-serving Dockerfile.

Codedockerfile
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install requirements.txt
COPY . .
CMD ["python", "serve.py"]

What is the bug in this Dockerfile?