add dockerfile
This commit is contained in:
parent
9b17300492
commit
e2db3b8fb7
1 changed files with 9 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal 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" ]
|
||||
|
Loading…
Reference in a new issue