Mar 20, 2026
Project: Containerize a Legacy Application
Goal
Package an existing application into a portable container image.
Project Structure
legacy-app/
├── app.py
├── requirements.txt
└── Dockerfile
Sample Dockerfile
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
CMD ["python", "app.py"]
Deliverables
- Dockerfile
- Build instructions
- Runtime documentation