cobalt/Dockerfile

11 lines
218 B
Docker
Raw Normal View History

2023-02-20 19:12:26 +00:00
FROM node:18-bullseye-slim
WORKDIR /app
COPY package*.json ./
2023-04-09 03:58:25 +01:00
COPY .git ./
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
2023-02-20 19:12:26 +00:00
RUN npm install
COPY . .
EXPOSE 9000
CMD [ "node", "src/cobalt" ]