mirror of https://github.com/Aelita4/sshmon.git
Add docker support
This commit is contained in:
parent
0c63934a8a
commit
e2e5c04cf1
|
@ -0,0 +1 @@
|
|||
node_modules
|
|
@ -0,0 +1,15 @@
|
|||
FROM node:16.17
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm ci
|
||||
|
||||
COPY data.json .
|
||||
|
||||
COPY out .
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["node", "index.js"]
|
Loading…
Reference in New Issue