Loading backend/docker-compose.yml 0 → 100644 +11 −0 Original line number Diff line number Diff line version: '3.7' services: api: build: context: . dockerfile: dockerfile command: npm start ports: - 3001:3000 # Map host port 3001 to container port 3000 # - 9229:9229 # Map host port 9229 to container port 9229 backend/dockerfile 0 → 100644 +14 −0 Original line number Diff line number Diff line FROM node WORKDIR /api RUN apt-get update && \ apt-get install -y wget gnupg && \ wget -qO - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \ echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list && \ apt-get update && \ apt-get install -y chromium COPY . . RUN npm install Loading
backend/docker-compose.yml 0 → 100644 +11 −0 Original line number Diff line number Diff line version: '3.7' services: api: build: context: . dockerfile: dockerfile command: npm start ports: - 3001:3000 # Map host port 3001 to container port 3000 # - 9229:9229 # Map host port 9229 to container port 9229
backend/dockerfile 0 → 100644 +14 −0 Original line number Diff line number Diff line FROM node WORKDIR /api RUN apt-get update && \ apt-get install -y wget gnupg && \ wget -qO - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \ echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list && \ apt-get update && \ apt-get install -y chromium COPY . . RUN npm install