Skip to content

Size · routine · 8 min

A secret that is not in the image

This fetches a credentials file, uses it, and deletes it. The credentials are still in the image. Fix it so that no layer contains /app/.env, without losing the file that gets written from it.

Your Dockerfile

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6

Scorecard

Nothing has been graded. Fix the Dockerfile, then build — the gates, the layers and the ledger appear together.

Everything you do here stays in this browser.Part of liter8.sh