Files
researchChat/Dockerfile
T

19 lines
482 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Research Chat – Web-App mit Playwright-Chromium
FROM node:26-slim
# Playwright-Systemabhängigkeiten (Chromium) werden mit --with-deps installiert
WORKDIR /app
# Erst Abhängigkeiten (Docker-Layer-Cache)
COPY package.json package-lock.json* ./
RUN npm install --no-fund --no-audit
# Chromium + Systemdeps installieren (--with-deps braucht apt-get, in slim enthalten)
RUN npx playwright install --with-deps chromium
# App-Code
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]