add dockerfile

This commit is contained in:
alyx 2023-02-20 13:12:26 -06:00
parent 9b17300492
commit e2db3b8fb7

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM node:18-bullseye-slim
WORKDIR /app
COPY package*.json ./
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" ]