.dockerignore excludes the production dist directory
Summary: The image is supposed to serve an already-built static site, but .dockerignore removes dist from the build context.
Failure type: dockerignore_artifact_excluded
Ecosystem: frontend
Difficulty: easy

Repository files:
path: Dockerfile
content: FROM nginx:1.27-alpine
COPY dist/ /usr/share/nginx/html/
path: .dockerignore
content: node_modules
dist
path: dist/index.html
content: <!doctype html>
<html><body>ok</body></html>

Failure log:
failed to compute cache key: failed to calculate checksum of ref: "/dist": not found

Build command: docker build -t sabnock/sbd-0005 .
Verify commands:
docker build -t sabnock/sbd-0005 .

Oracle patch:
diff --git a/.dockerignore b/.dockerignore
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,2 +1 @@
 node_modules
-dist

Scoring - must touch:
.dockerignore
Scoring - must contain:
Scoring - must not contain:
path: .dockerignore
text: dist