Add docker support

This commit is contained in:
Aelita4 2022-08-18 11:51:10 +02:00
parent 0c63934a8a
commit e2e5c04cf1
Signed by: Aelita4
GPG Key ID: F8EC95519509D1D5
2 changed files with 16 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
node_modules

15
Dockerfile Normal file
View File

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