Files
prompts/Dockerfile
sneak 0e292fb3dc
All checks were successful
check / check (push) Successful in 8s
bootstrap: pinned node via nvm fallback; Dockerfile uses script/bootstrap
2026-07-06 23:31:08 +02:00

16 lines
460 B
Docker

# node 22-alpine, 2026-02-22
FROM node@sha256:e4bf2a82ad0a4037d28035ae71529873c069b13eb0455466ae0bc13363826e34
WORKDIR /app
# script/bootstrap installs all prerequisites (make via apk here; node
# and yarn are already in the base image, so those steps are skipped).
# Dependency manifests are copied first so the bootstrap layer is
# cached until they change.
COPY script/ script/
COPY package.json yarn.lock ./
RUN script/bootstrap
COPY . .
RUN make check