FROM node:18-bullseye-slim
WORKDIR /app
COPY package*.json ./
COPY .git ./
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
RUN npm install
COPY . .
EXPOSE 9000
CMD [ "node", "src/cobalt" ]