Task 01 — Hello Container
How to evaluate
csot submit ./solutions -w week-02 -t 01
Submit as: 01/Dockerfile
Containerize the provided server.py (a tiny HTTP server that returns
{"ok":true} on GET / and listens on $PORT, default 8000).
What the grader checks
docker buildsucceeds (3 pts)GET /returns{"ok":true}(6 pts)- Uses a slim/small base image —
python:*-slim,alpine, or distroless (2 pts) - Exec-form
CMD/ENTRYPOINT(1 pt)
Hints
EXPOSEis documentation only — the grader setsPORT=8000.- Exec form:
CMD ["python", "server.py"](not the shell form).