Commit 42a0e39b authored by Omar Luna's avatar Omar Luna
Browse files

Merge branch pueblosmagicosconia:main into main

parents a8fe6812 960d81d6
Loading
Loading
Loading
Loading
+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