Files
mtusi2026lab2/Dockerfile.example
T
Weinmaier_Andrew 24fe6e23d2
Skeleton contracts / contracts (pull_request) Canceled after 0s
lab2: add missing evidence from benchmark
2026-10-10 08:06:11 +03:00

9 lines
613 B
Docker

# Teaching outline, not a runnable Dockerfile. Implement your own Dockerfile.
# 1. Choose a runtime/toolchain version and pin the base image tag/digest.
# 2. Copy dependency manifests first; install from the language lockfile.
# 3. Copy source and build. For compiled languages use a separate runtime stage.
# 4. Run the HTTP process as PID 1; listen on 0.0.0.0:8080.
# 5. Add non-root, signals and healthcheck according to the current rubric.
# 6. Pass runtime config/secrets at startup, never COPY .env or secret files.
# This file deliberately has no FROM/CMD: selecting/implementing them is the task.