Files
mc-ai-bridge/Dockerfile
SysAdmin 2e91bcf63d
Some checks failed
Deploy to Docker / deploy (push) Failing after 33s
feat(schematics): add schematic search/build with Playwright browser support
Switch Docker base image from node:22-alpine to Playwright Noble for
in-container Chromium support. Add persistent cache volume for schematics.
New files: schematics browser, cache, Java block ID mapping.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 00:07:49 +00:00

18 lines
412 B
Docker

FROM mcr.microsoft.com/playwright/javascript:v1.58.2-noble
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci --production 2>/dev/null || npm install --production
COPY src/ ./src/
# Create cache directory owned by pwuser (default user in playwright image)
RUN mkdir -p /app/cache && chown -R pwuser:pwuser /app/cache
EXPOSE 3001 3002
USER pwuser
CMD ["node", "src/index.js"]