LouisLam
4 years ago
6 changed files with 32 additions and 7 deletions
@ -0,0 +1,4 @@ |
|||||
|
/.idea |
||||
|
/dist |
||||
|
/node_modules |
||||
|
/data/kuma.db |
@ -0,0 +1,10 @@ |
|||||
|
FROM node:14 |
||||
|
|
||||
|
WORKDIR /app |
||||
|
COPY . . |
||||
|
RUN npm install |
||||
|
RUN npm run build |
||||
|
|
||||
|
EXPOSE 3001 |
||||
|
VOLUME ["/app/data"] |
||||
|
CMD ["npm", "run", "start-server"] |
Loading…
Reference in new issue