M1: initial scaffold — pipeline, specs, source, Dockerfile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM mcr.microsoft.com/playwright/node:20-noble
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies first (layer cache)
|
||||
COPY package*.json ./
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
# Copy source
|
||||
COPY src/ ./src/
|
||||
|
||||
# Create default output dir (overridden by volume mount at runtime)
|
||||
RUN mkdir -p /output
|
||||
|
||||
ENV OUTPUT_DIR=/output
|
||||
ENV NODE_ENV=production
|
||||
|
||||
ENTRYPOINT ["node", "src/index.js"]
|
||||
Reference in New Issue
Block a user