add cli for admin tools
This commit is contained in:
12
cli/Dockerfile
Normal file
12
cli/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM node:lts-alpine3.17
|
||||
|
||||
# add project files to /app
|
||||
ADD ./cli /app
|
||||
ADD ./prisma /app/prisma
|
||||
ADD ./mqtt/utils /app/utils
|
||||
WORKDIR /app
|
||||
|
||||
# install node dependencies
|
||||
RUN npm install && npx prisma generate
|
||||
|
||||
ENTRYPOINT ["node", "index.js"]
|
Reference in New Issue
Block a user