add dockerfile

merge pull request #85 from alyx/current
This commit is contained in:
wukko 2023-04-09 08:49:19 +06:00 committed by GitHub
commit 2877f29ba1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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" ]